Vim up to 9.2.136 Command Line nfa_max_width null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.7 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Name
Version
License
Website
- Product: https://github.com/vim/vim/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.7VulDB 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): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 302157
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-32249
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Vim 9.2.0137
Patch: 36d6e87542cf823d833e451e09a90ee429899cec
Timeline
03/11/2026 CVE reserved03/12/2026 Advisory disclosed
03/12/2026 VulDB entry created
03/20/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 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 代码问题漏洞
Entry
Created: 03/12/2026 21:49Updated: 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.
No comments yet. Languages: en.
Please log in to comment.