CVE-2026-32249
published medium CVSS 3.1 · 5.3NFA regex engine NULL pointer dereference affects Vim < 9.2.0137
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vim | — | vim>= 9.1.0011, < 9.2.0137 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1584 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | vim | Fixed | 9.2.0140-r0 | Package fix record |
| Debian | trixie | vim | Advisory build | 2:9.1.1230-2+deb13u1 | DSA-6600-1 |
| Ubuntu | noble | vim | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Amazon Linux | AL2023 | vimaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1584 |
| Alpine Linux | v3.23 | vim | Fixed | 9.2.0140-r0 | Package fix record |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | vim | Fixed | 9.2.0140-r0 | Package fix record |
| Ubuntu | questing | vim | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | noble | vim-athena | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-common | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-gtk3 | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-gui-common | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-motif | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-nox | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-runtime | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | vim-tiny | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | noble | xxd | Advisory build | 2:9.1.0016-1ubuntu7.11 | USN-8171-1 |
| Ubuntu | questing | vim-athena | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-common | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-gtk3 | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-gui-common | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-motif | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-nox | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-runtime | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | vim-tiny | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Ubuntu | questing | xxd | Advisory build | 2:9.1.0967-1ubuntu6.2 | USN-8171-1 |
| Amazon Linux | AL2023 | vimnoarch | Listed in advisory | Not stated | ALAS2023-2026-1584 |
| Amazon Linux | AL2023 | vimsrc | Listed in advisory | Not stated | ALAS2023-2026-1584 |
| Amazon Linux | AL2023 | vimx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1584 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vim | vim | >= 9.1.0011, < 9.2.0137 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-476 CWE-476: NULL Pointer Dereference
References
3Provider assertions
2GitHub_M · cna
NFA regex engine NULL pointer dereference affects Vim < 9.2.0137
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 81015b642c914b6b2ed60d9ee4edf4d4c9b948bf1d5e1fb2e97a09abaa51bc6f
- Ingested
- 23 Sep 2026, 09:10:00 UTC
- Source record
- Official CVE record