CVEfocus › CVE database › CVE-2026-32249

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

CVSS 5.3 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-03-12Updated 2026-03-13Assigner: GitHub_M

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.

CWE-476

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
8Fix pending
25Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10vimFixed2:9.1.0967-1ubuntu6.2UBUNTU-CVE-2026-32249
Ubuntu 24.04vimFixed2:9.1.0016-1ubuntu7.11UBUNTU-CVE-2026-32249
Ubuntu 22.04vimNot affected
vulnerable_code_not_present
Debian 14vimFixed2:9.2.0218-1DEBIAN-CVE-2026-32249
Debian 13vimFixed2:9.1.1230-2+deb13u1DEBIAN-CVE-2026-32249
Red Hat Enterprise Linux 10vimFix pending
Fix deferred
Red Hat Enterprise Linux 10vim-X11Fix pending
Fix deferred
Red Hat Enterprise Linux 10vim-commonFix pending
Fix deferred
Red Hat Enterprise Linux 10vim-dataFix pending
Fix deferred
Red Hat Enterprise Linux 10vim-enhancedFix pending
Fix deferred
Red Hat Enterprise Linux 10vim-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 10vim-minimalFix pending
Fix deferred
Red Hat Enterprise Linux 10xxdFix pending
Fix deferred
Red Hat Enterprise Linux 9vimNot affected
Red Hat Enterprise Linux 9vim-X11Not affected
Red Hat Enterprise Linux 9vim-commonNot affected
Red Hat Enterprise Linux 9vim-enhancedNot affected
Red Hat Enterprise Linux 9vim-filesystemNot affected
Red Hat Enterprise Linux 9vim-minimalNot affected
Red Hat Enterprise Linux 8vimNot affected
Red Hat Enterprise Linux 8vim-X11Not affected
Red Hat Enterprise Linux 8vim-commonNot affected
Red Hat Enterprise Linux 8vim-enhancedNot affected
Red Hat Enterprise Linux 8vim-filesystemNot affected
Red Hat Enterprise Linux 8vim-minimalNot affected
Red Hat Enterprise Linux 7vimNot affected
Red Hat Enterprise Linux 7vim-X11Not affected
Red Hat Enterprise Linux 7vim-commonNot affected
Red Hat Enterprise Linux 7vim-enhancedNot affected
Red Hat Enterprise Linux 7vim-filesystemNot affected
Red Hat Enterprise Linux 7vim-minimalNot affected
Red Hat Enterprise Linux 6vimNot affected
Red Hat Enterprise Linux 6vim-X11Not affected
Red Hat Enterprise Linux 6vim-commonNot affected
Red Hat Enterprise Linux 6vim-enhancedNot affected
Red Hat Enterprise Linux 6vim-filesystemNot affected
Red Hat Enterprise Linux 6vim-minimalNot affected
Alpine Linux 3.24vimFixed9.2.0140-r0ALPINE-CVE-2026-32249
Alpine Linux 3.23vimFixed9.2.0140-r0ALPINE-CVE-2026-32249

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.