{"id":"CVE-2026-32249","state":"PUBLISHED","title":"NFA regex engine NULL pointer dereference affects Vim < 9.2.0137","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.","publishedAt":"2026-03-12T19:17:23.954Z","updatedAt":"2026-03-13T16:16:31.836Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["vim vim"],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":">= 9.1.0011, < 9.2.0137","status":"affected"}]}],"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"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32249.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32249","state":"PUBLISHED","datePublished":"2026-03-12T19:17:23.954Z","dateUpdated":"2026-03-13T16:16:31.836Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-11T14:47:05.686Z"},"containers":{"cna":{"title":"NFA regex engine NULL pointer dereference affects Vim < 9.2.0137","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":">= 9.1.0011, < 9.2.0137","status":"affected"}]}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-9phh-423r-778r","name":"https://github.com/vim/vim/security/advisories/GHSA-9phh-423r-778r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/36d6e87542cf823d833e451e09a90ee429899cec","name":"https://github.com/vim/vim/commit/36d6e87542cf823d833e451e09a90ee429899cec","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0137","name":"https://github.com/vim/vim/releases/tag/v9.2.0137","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-12T19:17:23.954Z"},"source":{"advisory":"GHSA-9phh-423r-778r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-13T16:16:20.237064Z","id":"CVE-2026-32249","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-13T16:16:31.836Z"}}]}}}