# CVE-2026-25749: Heap Overflow in Vim

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-06 · Modified: 2026-02-09
- Aliases: ALPINE-CVE-2026-25749, RHSA-2026:4442, RHSA-2026:4715, RHSA-2026:5602, UBUNTU-CVE-2026-25749, DEBIAN-CVE-2026-25749
- Record: https://cvemate.com/vulnerability/CVE-2026-25749 · JSON: https://cvemate.com/vulnerability/CVE-2026-25749/json

## Description

```text
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.
```

## Signals

- CVSS: 6.6 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
- EPSS: 0.262%, percentile 19.2%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine vim (Alpine Linux): \< 9.1.2132-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.1.2141-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm23 \| \< 2:7.4.1689-3ubuntu1.5+esm29 \| \< 2:8.0.1453-1ubuntu1.13+esm14 \| \< 2:8.1.2269-1ubuntu5.32+esm2 \| \< 2:8.2.3995-1ubuntu2.26 \| \< 2:9.1.0016-1ubuntu7.10 \| \< 2:9.1.0967-1ubuntu6.1
- neovim neovim: ≤ 0.11.6
- redhat vim (Red Hat): \< 2:8.0.1763-22.el8\_10 \| \< 2:9.1.083-6.el10\_1.1 \| \< 2:8.2.2637-23.el9\_7.1
- redhat vim-enhanced (Red Hat): \< 2:8.0.1763-22.el8\_10 \| \< 2:9.1.083-6.el10\_1.1 \| \< 2:8.2.2637-23.el9\_7.1
- redhat vim-minimal (Red Hat): \< 2:8.0.1763-22.el8\_10 \| \< 2:9.1.083-6.el10\_1.1 \| \< 2:8.2.2637-23.el9\_7.1
- redhat vim-X11 (Red Hat): \< 2:8.0.1763-22.el8\_10 \| \< 2:9.1.083-6.el10\_1.1 \| \< 2:8.2.2637-23.el9\_7.1
- vim vim: \< 9.1.2132

## References

- <https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43>
- <https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9>
- <https://github.com/vim/vim/releases/tag/v9.1.2132>
- <https://security.alpinelinux.org/vuln/CVE-2026-25749>
- <https://access.redhat.com/errata/RHSA-2026:4442>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2437843>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_4442.json>
- <https://access.redhat.com/security/cve/CVE-2026-25749>
- <https://www.cve.org/CVERecord?id=CVE-2026-25749>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25749>
- <https://access.redhat.com/errata/RHSA-2026:4715>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_4715.json>
- <https://access.redhat.com/errata/RHSA-2026:5602>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_5602.json>
- <https://ubuntu.com/security/CVE-2026-25749>
- <https://ubuntu.com/security/notices/USN-8101-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-25749>

---

Data as of 2026-12-05T05:17:53.488Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
