Vim up to 9.2.136 Command Line nfa_max_width null pointer dereference

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.
4.7$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in Vim up to 9.2.136. The impacted element is the function nfa_max_width of the component Command Line Handler. The manipulation leads to null pointer dereference. This vulnerability is listed as CVE-2026-32249. The attack must be carried out locally. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Vim up to 9.2.136 and classified as problematic. This issue affects the function nfa_max_width of the component Command Line Handler. The manipulation with an unknown input leads to a null pointer dereference vulnerability. Using CWE to declare the problem leads to CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. Impacted is availability. The summary by CVE is:

Vim is an open source, command line text editor. From 9.1.0011 to before 9.2.0137, Vim's NFA regex compiler, when encountering a collection containing a combining character as the endpoint of a character range (e.g. [0-0\u05bb]), incorrectly emits the composing bytes of that character as separate NFA states. This corrupts the NFA postfix stack, resulting in NFA_START_COLL having a NULL out1 pointer. When nfa_max_width() subsequently traverses the compiled NFA to estimate match width for the look-behind assertion, it dereferences state->out1->out without a NULL check, causing a segmentation fault. This vulnerability is fixed in 9.2.0137.

The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-32249 since 03/11/2026. The exploitation is known to be easy. An attack has to be approached locally. Technical details are known, but no exploit is available.

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

Upgrading to version 9.2.0137 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 36d6e87542cf823d833e451e09a90ee429899cec 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 CNNVD (CNNVD-202603-2473), Tenable (302157) and CERT Bund (WID-SEC-2026-0707). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Open Source vim

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.7
VulDB Meta Temp Score: 4.7

VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔒

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

CVSSv2info

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

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

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 302157
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-32249

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Vim 9.2.0137
Patch: 36d6e87542cf823d833e451e09a90ee429899cec

Timelineinfo

03/11/2026 CVE reserved
03/12/2026 +1 days Advisory disclosed
03/12/2026 +0 days VulDB entry created
03/20/2026 +8 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-9phh-423r-778r
Status: Confirmed

CVE: CVE-2026-32249 (🔒)
GCVE (CVE): GCVE-0-2026-32249
GCVE (VulDB): GCVE-100-350753
CERT Bund: WID-SEC-2026-0707 - vim: Schwachstelle ermöglicht Denial of Service
CNNVD: CNNVD-202603-2473 - Vim 代码问题漏洞

Entryinfo

Created: 03/12/2026 21:49
Updated: 03/20/2026 01:37
Changes: 03/12/2026 21:49 (69), 03/12/2026 22:49 (7), 03/13/2026 18:59 (6), 03/14/2026 18:58 (1), 03/16/2026 07:08 (1), 03/16/2026 10:01 (2), 03/20/2026 01:37 (12)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best 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!