Vim up to 9.1.2131 src/tag.c get_tagfname helpfile heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in Vim up to 9.1.2131. This vulnerability affects the function get_tagfname of the file src/tag.c. The manipulation of the argument helpfile results in heap-based overflow. This vulnerability is known as CVE-2026-25749. It is possible to launch the attack remotely. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, was found in Vim up to 9.1.2131. Affected is the function get_tagfname of the file src/tag.c. The manipulation of the argument helpfile with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The advisory is shared for download at github.com. This vulnerability is traded as CVE-2026-25749 since 02/05/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 298305 (Linux Distros Unpatched Vulnerability : CVE-2026-25749), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 9.1.2132 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 0714b15940b245108e6e9d7aa2260dd849a26fa9 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (298305) and CERT Bund (WID-SEC-2026-0335). Once again VulDB remains the best source for vulnerability data.

Affected

  • Red Hat Enterprise Linux
  • Fedora Linux
  • Ubuntu Linux
  • Oracle Linux
  • RESF Rocky Linux
  • Open Source vim
  • Red Hat OpenShift

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.3

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 6.6
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 298305
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-25749

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Vim 9.1.2132
Patch: 0714b15940b245108e6e9d7aa2260dd849a26fa9

Timelineinfo

02/05/2026 CVE reserved
02/07/2026 +2 days Advisory disclosed
02/07/2026 +0 days VulDB entry created
04/16/2026 +68 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-5w93-4g67-mm43
Status: Confirmed

CVE: CVE-2026-25749 (🔒)
GCVE (CVE): GCVE-0-2026-25749
GCVE (VulDB): GCVE-100-344820
CERT Bund: WID-SEC-2026-0335 - vim: Schwachstelle ermöglicht Codeausführung

Entryinfo

Created: 02/07/2026 08:36
Updated: 04/16/2026 23:31
Changes: 02/07/2026 08:36 (70), 02/07/2026 10:41 (7), 02/08/2026 00:36 (2), 02/20/2026 19:34 (1), 03/13/2026 15:28 (1), 03/27/2026 13:49 (1), 04/16/2026 23:31 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!