TROYANOSYVIRUS
Back to CVEs

CVE-2026-25749

MEDIUM
6.6

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.

CVE Details

CVSS v3.1 Score6.6
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published2/6/2026
Last Modified2/20/2026
Sourcenvd
Honeypot Sightings0

Affected Products

vim:vim

Weaknesses (CWE)

CWE-122

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.