Skip to content
Fencer Vulns
medium 6.6

CVE-2026-25749 json

Heap Overflow in Vim

published 2026-02-06 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-6930

cvss
6.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 18%
public exploits
0
none known

Summary

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.

Patch / fix

  • vim vim 9.1.2132
  • neovim neovim 0.11.6
  • vim Debian 13 2:9.1.1230-2+deb13u1
  • vim Debian 14 2:9.1.2141-1

debian advisories DEBIAN-CVE-2026-25749

  • vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.26
  • vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.10
  • vim Ubuntu 25.10 2:9.1.0967-1ubuntu6.1
  • vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm23
  • vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm29
  • vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm14
  • vim Ubuntu Pro 20.04 LTS 2:8.1.2269-1ubuntu5.32+esm2

ubuntu advisories UBUNTU-CVE-2026-25749

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vim RHEL 9 2:8.2.2637-23.el9_7.1
  • vim-X11 RHEL 9 2:8.2.2637-23.el9_7.1
  • vim-minimal RHEL 9 2:8.2.2637-23.el9_7.1
  • vim-enhanced RHEL 9 2:8.2.2637-23.el9_7.1
  • vim RHEL 10.1 2:9.1.083-6.el10_1.1
  • vim-X11 RHEL 10.1 2:9.1.083-6.el10_1.1
  • vim-minimal RHEL 10.1 2:9.1.083-6.el10_1.1
  • vim-enhanced RHEL 10.1 2:9.1.083-6.el10_1.1

red hat advisories RHSA-2026:6736RHSA-2026:6731RHSA-2026:6730RHSA-2026:6729RHSA-2026:6619RHSA-2026:6620

  • vim-X11 AlmaLinux 9 2:8.2.2637-23.el9_7.1
  • vim-common AlmaLinux 9 2:8.2.2637-23.el9_7.1
  • vim-minimal AlmaLinux 9 2:8.2.2637-23.el9_7.1
  • vim-enhanced AlmaLinux 9 2:8.2.2637-23.el9_7.1
  • vim-filesystem AlmaLinux 9 2:8.2.2637-23.el9_7.1
  • vim-data AlmaLinux 10 2:9.1.083-6.el10_1.1
  • vim-filesystem AlmaLinux 10 2:9.1.083-6.el10_1.1
  • vim-X11 AlmaLinux 8 2:8.0.1763-22.el8_10

almalinux advisories ALSA-2026:5602ALSA-2026:4715ALSA-2026:4442

  • vim Rocky Linux 9 2:8.2.2637-23.el9_7.1
  • vim Rocky Linux 10 2:9.1.083-6.el10_1.1
  • vim Rocky Linux 8 2:8.0.1763-22.el8_10

rocky linux advisories RLSA-2026:5602RLSA-2026:4715RLSA-2026:4442

  • vim Alpine 3.24, Alpine 3.23 9.1.2132-r0

alpine advisories ALPINE-CVE-2026-25749

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vim CBL-Mariner 2.0, Azure Linux 3.0 9.2.0088-1

azure linux advisories AZL-76764AZL-77411

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-25749 updated cvss 7.3

vim: Vim: Arbitrary code execution via 'helpfile' option processing

  • Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat AI Inference Server 3.2 rhaiis 1775740563, rhaiis/model-opt-cuda-rhel9 1780681984
    fixed: vendor fix RHSA-2026:25096
  • Red Hat AI Inference Server 3.3 rhaiis 1778244531, rhaiis 1778244546, rhaiis 1778244559
    fixed: vendor fix RHSA-2026:16008
  • Red Hat Enterprise Linux AppStream (v. 8) vim-X11 8.0.1763-22.el8_10, vim-enhanced 8.0.1763-22.el8_10
    fixed: vendor fix RHSA-2026:4442
  • Red Hat Enterprise Linux AppStream (v. 9) vim-X11 8.2.2637-23.el9_7.1, vim-enhanced 8.2.2637-23.el9_7.1
    fixed: vendor fix RHSA-2026:5602
  • Red Hat Enterprise Linux AppStream (v. 10) vim-X11 9.1.083-6.el10_1.1, vim-enhanced 9.1.083-6.el10_1.1
    fixed: vendor fix RHSA-2026:4715
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) vim-X11 8.0.1763-13.el8_2.1, vim-common 8.0.1763-13.el8_2.1, vim-enhanced 8.0.1763-13.el8_2.1, vim-filesystem 8.0.1763-13.el8_2.1
    fixed: vendor fix RHSA-2026:6730
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) vim-X11 8.0.1763-15.el8_4.1, vim-common 8.0.1763-15.el8_4.1, vim-enhanced 8.0.1763-15.el8_4.1, vim-filesystem 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
show 30 more
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) vim-X11 8.0.1763-19.el8_6.5, vim-common 8.0.1763-19.el8_6.5, vim-enhanced 8.0.1763-19.el8_6.5, vim-filesystem 8.0.1763-19.el8_6.5 Red Hat Enterprise Linux AppStream E4S (v.8.6) vim-X11 8.0.1763-19.el8_6.5, vim-common 8.0.1763-19.el8_6.5, vim-enhanced 8.0.1763-19.el8_6.5, vim-filesystem 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) vim-X11 8.0.1763-20.el8_8.1, vim-common 8.0.1763-20.el8_8.1, vim-enhanced 8.0.1763-20.el8_8.1, vim-filesystem 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) vim-X11 8.2.2637-16.el9_0.4, vim-common 8.2.2637-16.el9_0.4, vim-enhanced 8.2.2637-16.el9_0.4
    fixed: vendor fix RHSA-2026:6619
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) vim-X11 8.2.2637-20.el9_2.1, vim-common 8.2.2637-20.el9_2.1, vim-enhanced 8.2.2637-20.el9_2.1
    fixed: vendor fix RHSA-2026:6620
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) xxd 9.1.083-5.el10_0.2, vim-X11 9.1.083-5.el10_0.2, vim-common 9.1.083-5.el10_0.2, vim-enhanced 9.1.083-5.el10_0.2
    fixed: vendor fix RHSA-2026:6502
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) vim-X11 8.2.2637-20.el9_4.2, vim-common 8.2.2637-20.el9_4.2, vim-enhanced 8.2.2637-20.el9_4.2
    fixed: vendor fix RHSA-2026:6540
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) vim-X11 8.2.2637-22.el9_6.2, vim-common 8.2.2637-22.el9_6.2, vim-enhanced 8.2.2637-22.el9_6.2
    fixed: vendor fix RHSA-2026:6539
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) vim-X11 8.0.1763-15.el8_4.1, vim-common 8.0.1763-15.el8_4.1, vim-enhanced 8.0.1763-15.el8_4.1, vim-filesystem 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) vim-X11 8.0.1763-19.el8_6.5, vim-common 8.0.1763-19.el8_6.5, vim-enhanced 8.0.1763-19.el8_6.5, vim-filesystem 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) vim-X11 8.0.1763-20.el8_8.1, vim-common 8.0.1763-20.el8_8.1, vim-enhanced 8.0.1763-20.el8_8.1, vim-filesystem 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux BaseOS (v. 8) vim 8.0.1763-22.el8_10, vim-minimal 8.0.1763-22.el8_10
    fixed: vendor fix RHSA-2026:4442
  • Red Hat Enterprise Linux BaseOS (v. 9) vim 8.2.2637-23.el9_7.1, vim-minimal 8.2.2637-23.el9_7.1
    fixed: vendor fix RHSA-2026:5602
  • Red Hat Enterprise Linux BaseOS (v. 10) vim 9.1.083-6.el10_1.1, vim-minimal 9.1.083-6.el10_1.1
    fixed: vendor fix RHSA-2026:4715
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) vim 8.0.1763-13.el8_2.1, vim-minimal 8.0.1763-13.el8_2.1
    fixed: vendor fix RHSA-2026:6730
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) vim 8.0.1763-15.el8_4.1, vim-minimal 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) vim 8.0.1763-19.el8_6.5, vim-minimal 8.0.1763-19.el8_6.5 Red Hat Enterprise Linux BaseOS E4S (v.8.6) vim 8.0.1763-19.el8_6.5, vim-minimal 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) vim 8.0.1763-20.el8_8.1, vim-minimal 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) vim 8.2.2637-16.el9_0.4, vim-minimal 8.2.2637-16.el9_0.4, vim-filesystem 8.2.2637-16.el9_0.4
    fixed: vendor fix RHSA-2026:6619
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) vim 8.2.2637-20.el9_2.1, vim-minimal 8.2.2637-20.el9_2.1, vim-filesystem 8.2.2637-20.el9_2.1
    fixed: vendor fix RHSA-2026:6620
  • Red Hat Enterprise Linux BaseOS EUS (v. 10.0) vim 9.1.083-5.el10_0.2, vim-data 9.1.083-5.el10_0.2, vim-minimal 9.1.083-5.el10_0.2, vim-filesystem 9.1.083-5.el10_0.2
    fixed: vendor fix RHSA-2026:6502
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) vim 8.2.2637-20.el9_4.2, vim-minimal 8.2.2637-20.el9_4.2, vim-filesystem 8.2.2637-20.el9_4.2
    fixed: vendor fix RHSA-2026:6540
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6) vim 8.2.2637-22.el9_6.2, vim-minimal 8.2.2637-22.el9_6.2, vim-filesystem 8.2.2637-22.el9_6.2
    fixed: vendor fix RHSA-2026:6539
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) vim 8.0.1763-15.el8_4.1, vim-minimal 8.0.1763-15.el8_4.1
    fixed: vendor fix RHSA-2026:6729
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) vim 8.0.1763-19.el8_6.5, vim-minimal 8.0.1763-19.el8_6.5
    fixed: vendor fix RHSA-2026:6731
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) vim 8.0.1763-20.el8_8.1, vim-minimal 8.0.1763-20.el8_8.1
    fixed: vendor fix RHSA-2026:6736
  • Red Hat Enterprise Linux Server (v. 7 ELS) vim 7.4.629-8.el7_9.1, vim-X11 7.4.629-8.el7_9.1, vim-common 7.4.629-8.el7_9.1, vim-minimal 7.4.629-8.el7_9.1, vim-enhanced 7.4.629-8.el7_9.1, vim-filesystem 7.4.629-8.el7_9.1
    fixed: vendor fix RHSA-2026:6617
  • Red Hat Insights proxy 1.5 insights-proxy 1776868961
    fixed: vendor fix RHSA-2026:9832
  • Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202604281506
    fixed: vendor fix RHSA-2026:12274
  • Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202604080111
    fixed: vendor fix RHSA-2026:7239
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202605060243
    fixed: vendor fix RHSA-2026:15087

6 more fixed, 6 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
8 mo ago

Exploit prediction

0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 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

  • vim vim

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.