CVE-2026-32249
Fixed in a distro release EPSS <1%CVSS 5.3
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.
Products: vim
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.23 | vim | 9.2.0140-r0 |
| Amazon Linux 2023 | vim-common | 2:9.2.240-1.amzn2023.0.2 |
| Amazon Linux 2023 | vim-data | 2:9.2.240-1.amzn2023.0.2 |
| Amazon Linux 2023 | vim-default-editor | 2:9.2.240-1.amzn2023.0.2 |
| Amazon Linux 2023 | vim-enhanced | 2:9.2.240-1.amzn2023.0.2 |
| Amazon Linux 2023 | vim-filesystem | 2:9.2.240-1.amzn2023.0.2 |
| Amazon Linux 2023 | vim-minimal | 2:9.2.240-1.amzn2023.0.2 |
| Amazon Linux 2023 | xxd | 2:9.2.240-1.amzn2023.0.2 |
| Debian 13 | vim | no fix |
| Debian 14 | vim | 2:9.2.0218-1 |
| Ubuntu 22.04 LTS | vim | 2:8.2.3995-1ubuntu2.27 |
| Ubuntu 24.04 LTS | vim | 2:9.1.0016-1ubuntu7.11 |
| Ubuntu 25.10 | vim | 2:9.1.0967-1ubuntu6.2 |
| Ubuntu Pro 14.04 LTS | vim | 2:7.4.052-1ubuntu3.1+esm24 |
| Ubuntu Pro 16.04 LTS | vim | 2:7.4.1689-3ubuntu1.5+esm30 |
| Ubuntu Pro 18.04 LTS | vim | 2:8.0.1453-1ubuntu1.13+esm15 |
| Ubuntu Pro 20.04 LTS | vim | 2:8.1.2269-1ubuntu5.32+esm3 |