# CVE-2026-32249: NFA regex engine NULL pointer dereference affects Vim \< 9.2.0137

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-12 · Modified: 2026-03-13
- Aliases: ALPINE-CVE-2026-32249, MGASA-2026-0055, UBUNTU-CVE-2026-32249, DEBIAN-CVE-2026-32249
- Record: https://cvemate.com/vulnerability/CVE-2026-32249 · JSON: https://cvemate.com/vulnerability/CVE-2026-32249/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.16%, percentile 5.389%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): ≥ 9.1.0011, \< 9.2.0140-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0218-1
- ubuntu vim (Ubuntu): \< 2:9.1.0016-1ubuntu7.11 \| \< 2:9.1.0967-1ubuntu6.2
- mageia vim (Mageia): \< 9.2.140-1.mga9
- vim vim: ≥ 9.1.0011, \< 9.2.0137

## References

- <https://github.com/vim/vim/security/advisories/GHSA-9phh-423r-778r>
- <https://github.com/vim/vim/commit/36d6e87542cf823d833e451e09a90ee429899cec>
- <https://github.com/vim/vim/releases/tag/v9.2.0137>
- <https://security.alpinelinux.org/vuln/CVE-2026-32249>
- <https://advisories.mageia.org/MGASA-2026-0055.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35197>
- <https://www.openwall.com/lists/oss-security/2026/03/11/6>
- <https://ubuntu.com/security/CVE-2026-32249>
- <https://www.cve.org/CVERecord?id=CVE-2026-32249>
- <https://ubuntu.com/security/notices/USN-8171-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-32249>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32249>

---

Data as of 2026-12-05T07:10:36.661Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
