VDB

CVE-2026-25749

CVE-2026-25749 PUBLISHED CVSS 6.6 MEDIUM

Heap Overflow in Vim

Reported by github_m · Published February 6, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vim-X11errata.rockylinux.org2:9.1.083-6.el10_1.1.ppc64le, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.s390x, 2:8.2.2637-23.el9_7.1.ppc64le, 2:8.2.2637-23.el9_7.1.aarch64, 2:8.0.1763-22.el8_10.x86_64, 2:8.0.1763-22.el8_10.aarch64
vim-enhancederrata.rockylinux.org2:9.1.083-6.el10_1.1.x86_64, 2:9.1.083-6.el10_1.1.s390x, 2:9.1.083-6.el10_1.1.ppc64le, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.x86_64, 2:8.2.2637-23.el9_7.1.ppc64le
vim-common-debuginfoerrata.rockylinux.org2:8.2.2637-23.el9_7.1.x86_64, 2:8.2.2637-23.el9_7.1.ppc64le, 2:8.2.2637-23.el9_7.1.aarch64, 2:8.0.1763-22.el8_10.x86_64, 2:8.0.1763-22.el8_10.aarch64
vim-minimalerrata.rockylinux.org2:9.1.083-6.el10_1.1.x86_64, 2:9.1.083-6.el10_1.1.s390x, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.x86_64, 2:8.2.2637-23.el9_7.1.s390x, 2:8.2.2637-23.el9_7.1.aarch64, 2:8.0.1763-22.el8_10.x86_64, 2:8.0.1763-22.el8_10.aarch64
vim-default-editorAmazon Linux2:9.2.240-1.amzn2023.0.2
vim-enhanced-debuginfoerrata.rockylinux.org2:9.1.083-6.el10_1.1.s390x, 2:9.1.083-6.el10_1.1.ppc64le, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.x86_64, 2:8.2.2637-23.el9_7.1.aarch64, 2:8.0.1763-22.el8_10.x86_64, 2:8.0.1763-22.el8_10.aarch64
vim-debuginfoerrata.rockylinux.org2:9.1.083-6.el10_1.1.x86_64, 2:9.1.083-6.el10_1.1.s390x, 2:9.1.083-6.el10_1.1.ppc64le, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.s390x, 2:8.2.2637-23.el9_7.1.ppc64le, 2:8.2.2637-23.el9_7.1.aarch64, 2:8.0.1763-22.el8_10.x86_64
vim-filesystemerrata.rockylinux.org2:9.1.083-6.el10_1.1.noarch, 2:8.2.2637-23.el9_7.1.noarch, 2:8.0.1763-22.el8_10.noarch
vim-debugsourceerrata.rockylinux.org2:9.1.083-6.el10_1.1.s390x, 2:9.1.083-6.el10_1.1.ppc64le, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.x86_64, 2:8.2.2637-23.el9_7.1.s390x, 2:8.2.2637-23.el9_7.1.ppc64le, 2:8.2.2637-23.el9_7.1.aarch64, 2:8.0.1763-22.el8_10.x86_64, 2:8.0.1763-22.el8_10.aarch64
vim-X11-debuginfoerrata.rockylinux.org2:9.1.083-6.el10_1.1.ppc64le, 2:9.1.083-6.el10_1.1.aarch64, 2:8.2.2637-23.el9_7.1.x86_64, 2:8.2.2637-23.el9_7.1.s390x, 2:8.0.1763-22.el8_10.aarch64
vim-dataerrata.rockylinux.org2:9.1.083-6.el10_1.1.noarch
vimerrata.rockylinux.org2:9.1.083-6.el10_1.1.src, 2:8.2.2637-23.el9_7.1.src, 2:8.0.1763-22.el8_10.src

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

Affected products

VendorProductVersions
vimvim< 9.1.2132
amazon:2023vim-default-editor0
amazon:2023vim-filesystem0
amazon:2023vim-minimal0
amazon:2023xxd0
alpinevim0
amazon:2023vim-common0
amazon:2023vim-data0
vimvim0
amazon:2023vim-enhanced0

Timeline

  • Feb 5, 2026 CVE Published
  • Feb 7, 2026 EPSS Score (30 in total, the first dated here)
  • Feb 12, 2026 Security Advisory (27 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (29 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-25749
vulnetix vdb fixes CVE-2026-25749

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-25749/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›