CVE-2026-25749
CVE-2026-25749 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% (12th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-6930
- Weakness: CWE-122
- Affected product: Neovim
- Published:
- Last modified:
Description
Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.
Frequently asked questions
- What is CVE-2026-25749?
- Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.
- How severe is CVE-2026-25749?
- CVE-2026-25749 has a CVSS 3.x base score of 6.6, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is none, integrity high, and availability high.
- Is CVE-2026-25749 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (12th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-25749?
- CVE-2026-25749 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-25749?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-25749 have an EU (EUVD) identifier?
- Yes. CVE-2026-25749 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-6930.
- When was CVE-2026-25749 published?
- CVE-2026-25749 was published on 2026-02-06 and last updated on 2026-06-17.
References
- https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9
- https://github.com/vim/vim/releases/tag/v9.1.2132
- https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43
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-45130 — Medium (CVSS 6.6): Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in…
- 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 →