VDB

CVE-2026-32249

CVE-2026-32249 PUBLISHED CVSS 5.3 MEDIUM

NFA regex engine NULL pointer dereference affects Vim < 9.2.0137

Reported by github_m · Published March 12, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vim-commonAmazon Linux2:9.2.240-1.amzn2023.0.2
vim-minimalAmazon Linux2:9.2.240-1.amzn2023.0.2
vim-dataAmazon Linux2:9.2.240-1.amzn2023.0.2
xxdAmazon Linux2:9.2.240-1.amzn2023.0.2
vim-filesystemAmazon Linux2:9.2.240-1.amzn2023.0.2
vimAlpine9.2.0140-r0
vimvim9.2.0137

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
vimvim>= 9.1.0011, < 9.2.0137
amazon:2023vim-common0
amazon:2023vim-minimal0
amazon:2023vim-data0
amazon:2023xxd0
amazon:2023vim-filesystem0
alpinevim0
vimvim9.1.0011
amazon:2023vim-default-editor0
amazon:2023vim-enhanced0

Timeline

  • Mar 11, 2026 CVE Published
  • Mar 13, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 13, 2026 CVE Updated
  • Apr 14, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-32249
vulnetix vdb fixes CVE-2026-32249

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-32249/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›