Vim vulnerabilities
Every CVE BreachSpider tracks for Vim, with affected versions, the vendor's fix and the advisory. Send a device's exact version to learn which of these apply to it.
CVEs263
Critical (CVSS 9+)13
High (7 to 8.9)171
Known-exploited0
Vim products with the most CVEs
Vim 259Gvim 2Netrw 1Tar.Vim 1Zipplugin.Vim 1
A product appearing here does not mean every version is affected. Each CVE lists the affected versions; the free check answers for the version you run.
Vim's own CVEs by priority
CVE-2022-35209.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.CVE-2020-207039.8Buffer Overflow vulnerability in VIM v.8.1.2135 allows a remote attacker to execute arb...CVE-2017-63509.8An integer overflow at an unserialize_uep memory allocation site would occur for vim be...CVE-2017-63499.8An integer overflow at a u_read_undo memory allocation site would occur for vim before ...CVE-2017-59539.8vim before patch 8.0.0322 does not properly validate values for tree length when handli...CVE-2010-39149.3Untrusted search path vulnerability in VIM Development Group GVim before 7.3.034, and p...CVE-2008-62359.3The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execu...CVE-2008-41019.3Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows us...CVE-2008-30769.3The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to exec...CVE-2008-30759.3The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assiste...CVE-2008-30749.3The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assiste...CVE-2008-27129.3Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute a...CVE-2026-730788.8Vim is an open source, command line text editor. Prior to 9.2.0840, runtime/plugin/netr...CVE-2026-471628.8Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript...CVE-2025-551588.8Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9....CVE-2025-551578.8Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9....CVE-2026-347148.6Vim before 9.2.0272 allows code execution that happens immediately upon opening a craft...CVE-2026-514008.4An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitr...CVE-2026-528598.2Vim is an open source, command line text editor. Prior to version 9.2.0565, the update_...CVE-2026-349828.2Vim is an open source, command line text editor. Prior to version 9.2.0276, a modeline ...CVE-2021-39688.0vim is vulnerable to Heap-based Buffer OverflowCVE-2026-730777.8Vim is an open source, command line text editor. Prior to 9.2.0839, the runtime/ftplugi...CVE-2026-730767.8Vim is an open source, command line text editor. Prior to 9.2.0847, runtime/autoload/vi...CVE-2026-730737.8Vim is an open source, command line text editor. Prior to 9.2.0845, StructMembers() in ...CVE-2026-598587.8Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completi...CVE-2026-598567.8Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-comple...CVE-2026-574567.8Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-c...CVE-2026-574557.8Vim is an open source, command line text editor. Prior to 9.2.0698, the single-byte bra...CVE-2026-558957.8Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code in...CVE-2026-556937.8Vim is an open source, command line text editor. Prior to 9.2.0653, the tree_count_word...CVE-2026-528607.8Vim is an open source, command line text editor. Prior to version 9.2.0597, Vim's Pytho...CVE-2026-528587.8Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python ...CVE-2026-439617.8A flaw was found in Vim's netrw plugin. A crafted filename containing quote characters ...CVE-2026-398817.8Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection...CVE-2026-284217.8Vim is an open source, command line text editor. Versions prior to 9.2.0077 have a heap...CVE-2026-284177.8Vim is an open source, command line text editor. Prior to version 9.2.0073, an OS comma...CVE-2024-226677.8Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c ...CVE-2023-55357.8Use After Free in GitHub repository vim/vim prior to v9.0.2010.CVE-2023-38967.8Divide By Zero in vim/vim from 9.0.1367-1 to 9.0.1367-3CVE-2023-26107.8Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1532.CVE-2023-11277.8Divide By Zero in GitHub repository vim/vim prior to 9.0.1367.CVE-2023-05127.8Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.CVE-2023-04337.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1225.CVE-2023-02887.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1189.CVE-2023-00547.8Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1145.CVE-2023-00517.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.CVE-2023-00497.8Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.1143.CVE-2022-470247.8A null pointer dereference issue was discovered in function gui_x11_create_blank_mouse ...CVE-2022-41417.8Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTR...CVE-2022-35917.8Use After Free in GitHub repository vim/vim prior to 9.0.0789.CVE-2022-34917.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742.CVE-2022-33527.8Use After Free in GitHub repository vim/vim prior to 9.0.0614.CVE-2022-33247.8Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0598.CVE-2022-32977.8Use After Free in GitHub repository vim/vim prior to 9.0.0579.CVE-2022-32967.8Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0577.CVE-2022-32567.8Use After Free in GitHub repository vim/vim prior to 9.0.0530.CVE-2022-32357.8Use After Free in GitHub repository vim/vim prior to 9.0.0490.CVE-2022-32347.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0483.CVE-2022-31347.8Use After Free in GitHub repository vim/vim prior to 9.0.0389.CVE-2022-30997.8Use After Free in GitHub repository vim/vim prior to 9.0.0360.CVE-2022-30377.8Use After Free in GitHub repository vim/vim prior to 9.0.0322.CVE-2022-30167.8Use After Free in GitHub repository vim/vim prior to 9.0.0286.CVE-2022-29827.8Use After Free in GitHub repository vim/vim prior to 9.0.0260.CVE-2022-29467.8Use After Free in GitHub repository vim/vim prior to 9.0.0246.CVE-2022-28897.8Use After Free in GitHub repository vim/vim prior to 9.0.0225.CVE-2022-28627.8Use After Free in GitHub repository vim/vim prior to 9.0.0221.CVE-2022-28497.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0220.CVE-2022-28457.8Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior t...CVE-2022-28197.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0211.CVE-2022-28177.8Use After Free in GitHub repository vim/vim prior to 9.0.0213.CVE-2022-28167.8Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0212.CVE-2022-25817.8Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0104.CVE-2022-25807.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.CVE-2022-25717.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0101.CVE-2022-25227.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.CVE-2022-23457.8Use After Free in GitHub repository vim/vim prior to 9.0.0046.CVE-2022-23447.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0045.CVE-2022-23437.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0044.CVE-2022-23047.8Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.CVE-2022-22897.8Use After Free in GitHub repository vim/vim prior to 9.0.CVE-2022-22887.8Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.CVE-2022-22867.8Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.CVE-2022-22857.8Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.CVE-2022-22847.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.CVE-2022-22647.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.CVE-2022-22577.8Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.CVE-2022-22107.8Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.CVE-2022-22077.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2022-22067.8Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.CVE-2022-21837.8Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.CVE-2022-21827.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2022-21757.8Buffer Over-read in GitHub repository vim/vim prior to 8.2.CVE-2022-21297.8Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.CVE-2022-18867.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2022-17967.8Use After Free in GitHub repository vim/vim prior to 8.2.4979.CVE-2022-17857.8Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.4977.CVE-2022-11607.8heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.CVE-2022-04437.8Use After Free in GitHub repository vim/vim prior to 8.2.CVE-2022-04177.8Heap-based Buffer Overflow GitHub repository vim/vim prior to 8.2.CVE-2022-04137.8Use After Free in GitHub repository vim/vim prior to 8.2.CVE-2022-04087.8Stack-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2022-04077.8Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2021-40697.8vim is vulnerable to Use After FreeCVE-2021-40197.8vim is vulnerable to Heap-based Buffer OverflowCVE-2021-39847.8vim is vulnerable to Heap-based Buffer OverflowCVE-2021-39747.8vim is vulnerable to Use After FreeCVE-2021-39737.8vim is vulnerable to Heap-based Buffer OverflowCVE-2021-39287.8vim is vulnerable to Use of Uninitialized VariableCVE-2021-39277.8vim is vulnerable to Heap-based Buffer OverflowCVE-2021-39037.8vim is vulnerable to Heap-based Buffer OverflowCVE-2021-38727.8vim is vulnerable to Heap-based Buffer OverflowCVE-2019-200797.8The autocmd feature in window.c in Vim before 8.1.2136 accesses freed memory.CVE-2017-111097.8Vim 8.0 allows attackers to cause a denial of service (invalid free) or possibly have u...CVE-2016-12487.8vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax...CVE-2026-514017.7An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitr...CVE-2026-262697.5Vim is an open source, command line text editor. Prior to 9.1.2148, a stack buffer over...CVE-2023-53447.5Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1969.CVE-2026-730727.3Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo() in src/s...CVE-2026-574537.3Vim is an open source, command line text editor. From 9.1.1784 until 9.2.0678, when the...CVE-2026-334127.3Vim is an open source, command line text editor. Prior to version 9.2.0202, a command i...CVE-2026-351777.1Vim is an open source, command line text editor. Prior to 9.2.0280, a path traversal by...CVE-2022-22877.1Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.CVE-2022-03937.1Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.CVE-2026-464837.0Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection...CVE-2009-03166.9Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim b...CVE-2008-34326.8Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2...CVE-2026-730746.7Vim is an open source, command line text editor. Prior to 9.2.0841, prop_add_one() in s...CVE-2026-414116.6Vim is an open source, command line text editor. Prior to 9.2.0357, A command injection...CVE-2026-284196.6Vim is an open source, command line text editor. Prior to version 9.2.0075, a heap-base...CVE-2026-257496.6Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buff...CVE-2023-11756.6Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.CVE-2023-11706.6Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.CVE-2022-02136.6vim is vulnerable to Heap-based Buffer OverflowCVE-2026-574546.1Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafte...CVE-2026-574516.1Vim is an open source, command line text editor. Prior to 9.2.0670, get_text_props() in...CVE-2026-730705.5Vim is an open source, command line text editor. Prior to 9.2.0842, the socket server b...CVE-2026-598575.5Vim is an open source, command line text editor. Prior to 9.2.0725, the single-byte bra...CVE-2026-574525.5Vim is an open source, command line text editor. Prior to 9.2.0671, when Vim opens a fi...CVE-2026-558925.5Vim is an open source, command line text editor. Prior to 9.2.0662, the dump_prefixes()...CVE-2026-451305.5Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buff...CVE-2026-322495.5Vim is an open source, command line text editor. From 9.1.0011 to before 9.2.0137, Vim'...CVE-2026-284185.5Vim is an open source, command line text editor. Prior to version 9.2.0074, a heap-base...CVE-2025-93905.5A security flaw has been discovered in vim up to 9.1.1615. Affected by this vulnerabili...CVE-2025-93895.5A vulnerability was identified in vim 9.1.0000. Affected is the function __memmove_avx_...CVE-2024-453065.5Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the curs...CVE-2023-54415.5NULL Pointer Dereference in GitHub repository vim/vim prior to 20d161ace307e28690229b68...CVE-2023-462465.5Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memor...CVE-2023-26095.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1531.CVE-2023-24265.5Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 9.0.1499.CVE-2023-13555.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1402.CVE-2023-12645.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.1392.CVE-2022-42935.5Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to...CVE-2022-32785.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.CVE-2022-31535.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404.CVE-2022-29805.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.CVE-2022-29235.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0240.CVE-2022-28745.5NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.CVE-2022-25985.5Out-of-bounds Write to API in GitHub repository vim/vim prior to 9.0.0100.CVE-2022-22315.5NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.CVE-2022-22085.5NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.CVE-2022-17715.5Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.CVE-2021-38755.5vim is vulnerable to Heap-based Buffer OverflowCVE-2021-32365.5vim 8.2.2348 is affected by null pointer dereference, allows local attackers to cause a...CVE-2017-170875.5fileio.c in Vim prior to 8.0.1263 sets the group ownership of a .swp file to the editor...CVE-2017-10003825.5VIM version 8.0.1187 (and other versions most likely) ignores umask when creating a swa...CVE-2026-471675.3Vim is an open source, command line text editor. Prior to version 9.2.0496, a code inje...CVE-2026-446565.3Vim is an open source, command line text editor. Prior to version 9.2.0435, an OS comma...CVE-2024-419575.3Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/...CVE-2023-487064.7Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnera...CVE-2026-423074.4Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS comma...CVE-2026-284204.4Vim is an open source, command line text editor. Prior to version 9.2.0076, a heap-base...CVE-2023-482374.3Vim is an open source command line text editor. In affected versions when shifting line...CVE-2023-482364.3Vim is an open source command line text editor. When using the z= command, the user may...CVE-2023-482354.3Vim is an open source command line text editor. When parsing relative ex addresses one ...CVE-2023-482344.3Vim is an open source command line text editor. When getting the count for a normal mod...CVE-2023-482334.3Vim is an open source command line text editor. If the count after the :s command is la...CVE-2023-482324.3Vim is an open source command line text editor. A floating point exception may occur wh...CVE-2023-482314.3Vim is an open source command line text editor. When closing a window, vim may try to a...CVE-2008-46774.3autoload/netrw.vim (aka the Netrw Plugin) 109, 131, and other versions before 133k for ...CVE-2024-419654.2Vim is an open source command line text editor. double-free in dialog_changed() in Vim ...CVE-2025-539064.1Vim is an open source, command line text editor. Prior to version 9.1.1551, a path trav...CVE-2025-539054.1Vim is an open source, command line text editor. Prior to version 9.1.1552, a path trav...CVE-2026-730753.9Vim is an open source, command line text editor. From 9.2.0469 until 9.2.0843, popup_ma...CVE-2008-32943.7src/configure.in in Vim 5.0 through 7.1, when used for a build with Python support, doe...CVE-2026-730713.3Vim is an open source, command line text editor. From 9.2.0511 until 9.2.0844, json_dec...CVE-2026-284222.2Vim is an open source, command line text editor. Prior to version 9.2.0078, a stack-buf...
Showing the 186 highest-scored of 263. Every CVE has its own page, and the API returns all of them for a device.
Third-party components in Vim products
CVEs filed for software that Vim products include, such as an operating system or library. They affect the Vim products and versions named on each CVE page.
CVE-2022-03189.8Apple: Heap-based Buffer Overflow in vim/vim prior to 8.2.CVE-2022-07298.8Apple: Use of Out-of-range Pointer Offset in GitHub repository vim/vim pri...CVE-2019-127358.6Neovim: getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows rem...CVE-2025-664767.8Microsoft: Vim is an open source, command line text editor. Prior to version 9...CVE-2025-12157.8Netapp: A vulnerability classified as problematic was found in vim up to 9....CVE-2023-47817.8Apple, Neovim: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.CVE-2023-47527.8Apple: Use After Free in GitHub repository vim/vim prior to 9.0.1858.CVE-2023-47517.8Apple: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1331.CVE-2023-47507.8Apple, Neovim: Use After Free in GitHub repository vim/vim prior to 9.0.1857.CVE-2023-47387.8Apple: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848.CVE-2023-47367.8Apple: Untrusted Search Path in GitHub repository vim/vim prior to 9.0.1833.CVE-2023-47357.8Apple: Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.CVE-2023-47347.8Apple, Neovim: Integer Overflow or Wraparound in GitHub repository vim/vim prior t...CVE-2023-47337.8Apple, Neovim: Use After Free in GitHub repository vim/vim prior to 9.0.1840.CVE-2022-42927.8Netapp: Use After Free in GitHub repository vim/vim prior to 9.0.0882.CVE-2022-371737.8Microsoft: An issue in the installer of gvim 9.0.0000 allows authenticated att...CVE-2022-21267.8Apple: Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.CVE-2022-21257.8Apple: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2022-21247.8Apple: Buffer Over-read in GitHub repository vim/vim prior to 8.2.CVE-2022-20427.8Apple: Use After Free in GitHub repository vim/vim prior to 8.2.CVE-2022-20007.8Apple: Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.CVE-2022-19687.8Apple: Use After Free in GitHub repository vim/vim prior to 8.2.CVE-2022-19427.8Apple: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.CVE-2022-19277.8Apple: Buffer Over-read in GitHub repository vim/vim prior to 8.2.CVE-2022-18987.8Apple: Use After Free in GitHub repository vim/vim prior to 8.2.CVE-2022-18977.8Apple: Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.CVE-2022-18517.8Apple: Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.CVE-2022-17697.8Apple: Buffer Over-read in GitHub repository vim/vim prior to 8.2.4974.CVE-2022-17357.8Apple: Classic Buffer Overflow in GitHub repository vim/vim prior to 8.2.4969.CVE-2022-17337.8Apple: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vim","product":"Vim","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.