CVE-2026-45130
CVE-2026-45130 is a medium-severity vulnerability in Neovim with a CVSS 3.x base score of 6.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-122.
Key facts
- Severity: Medium (CVSS 3.x base score 6.6)
- EPSS exploit prediction: 0% (16th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-28871
- Weakness: CWE-122
- Affected product: Neovim
- Published:
- Last modified:
Description
Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in version 9.2.0450.
Frequently asked questions
- What is CVE-2026-45130?
- Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in version 9.2.0450.
- How severe is CVE-2026-45130?
- CVE-2026-45130 has a CVSS 3.x base score of 6.6, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability high.
- Is CVE-2026-45130 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (16th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-45130?
- CVE-2026-45130 primarily affects Neovim. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-45130?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-45130 have an EU (EUVD) identifier?
- Yes. CVE-2026-45130 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-28871.
- When was CVE-2026-45130 published?
- CVE-2026-45130 was published on 2026-05-08 and last updated on 2026-06-17.
References
- https://github.com/vim/vim/commit/92993329178cb1f72d700fff45ca86e1c2d369f8
- https://github.com/vim/vim/releases/tag/v9.2.0450
- https://github.com/vim/vim/security/advisories/GHSA-q4jv-r9gj-6cwv
- http://www.openwall.com/lists/oss-security/2026/05/14/3
Affected products (2)
- cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*
- cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
More vulnerabilities in Neovim
- CVE-2019-12735 — High (CVSS 8.6): getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via…
- CVE-2021-4019 — High (CVSS 7.8): vim is vulnerable to Heap-based Buffer Overflow
- CVE-2026-25749 — Medium (CVSS 6.6): Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists…
- CVE-2024-43374 — Medium (CVSS 4.5): The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new…
- CVE-2025-22134 — Medium (CVSS 4.2): When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer…
Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities
- CVE-2026-46752 — Critical (CVSS 10.0): Redis Lua HEAP overflow in cjson library vulnerability in Apache Kvrocks. This issue affects Apache Kvrocks: from…
- CVE-2026-24822 — Critical (CVSS 10.0): Out-of-bounds Write, Heap-based Buffer Overflow vulnerability in ttttupup wxhelper (src modules). This vulnerability is…
- CVE-2025-23123 — Critical (CVSS 10.0): A malicious actor with access to the management network could execute a remote code execution (RCE) by exploiting a…
- CVE-2022-34819 — Critical (CVSS 10.0): A vulnerability has been identified in SIMATIC CP 1242-7 V2 (All versions < V3.3.46), SIMATIC CP 1243-1 (All versions <…
- CVE-2026-44050 — Critical (CVSS 9.9): A heap-based buffer overflow in the CNID daemon comm_rcv() function in Netatalk 2.0.0 through 4.4.2 allows a remote…
- CVE-2026-49841 — Critical (CVSS 9.8): FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to…
Browse all CWE-122 (Heap-based Buffer Overflow) vulnerabilities →