NULL pointer dereference in Vim - CVE-2026-32249

 

NULL pointer dereference in Vim - CVE-2026-32249

Published: March 30, 2026


Vulnerability identifier: #VU124677
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-32249
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the nfa_max_width() function when the NFA regex engine processes a look-behind assertion containing a collection with a combining Unicode character as a range endpoint. A remote attacker can trick the victim into opening a specially crafted file and crash the application. 


Affected software

Vim
Debian Linux
Ubuntu
vim-nox (Ubuntu package)
vim-common (Ubuntu package)
vim-athena (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-gui-common (Ubuntu package)
vim-motif (Ubuntu package)
vim-runtime (Ubuntu package)
vim-tiny (Ubuntu package)
vim (Ubuntu package)
xxd (Ubuntu package)
vim (Debian package)

How to mitigate CVE-2026-32249

Install updates from vendor's website.

Vim - update to 9.2.0137
vim-nox (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-common (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-athena (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-gtk3 (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-gui-common (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-motif (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-runtime (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim-tiny (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
xxd (Ubuntu package) - addressed in versions 2:9.1.0016-1ubuntu7.11, 2:9.1.0967-1ubuntu6.2
vim (Debian package) - update to 2:9.1.1230-2+deb13u1

External References

Related Security Bulletins