| Name | CVE-2026-57454 |
| Description | Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafted undo or swap file can store a virtual-text property whose offset and length point outside the line's property data. When Vim restores or displays such a line it converts the offset into a pointer and reads the virtual text without bounds checking, causing an out-of-bounds read that can crash Vim or disclose adjacent heap memory. This vulnerability is fixed in 9.2.0679. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| vim (PTS) | bullseye | 2:8.2.2434-3+deb11u1 | fixed |
| bullseye (security) | 2:8.2.2434-3+deb11u3 | fixed | |
| bookworm | 2:9.0.1378-2+deb12u2 | fixed | |
| trixie | 2:9.1.1230-2 | fixed | |
| forky, sid | 2:9.2.0524-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| vim | source | bullseye | (not affected) | |||
| vim | source | bookworm | (not affected) | |||
| vim | source | trixie | (not affected) | |||
| vim | source | (unstable) | (unfixed) |
[trixie] - vim <not-affected> (Vulnerable code not present)
[bookworm] - vim <not-affected> (Vulnerable code not present)
[bullseye] - vim <not-affected> (Vulnerable code not present)
https://github.com/vim/vim/security/advisories/GHSA-ww8h-47xp-hp4w
Introduced with: https://github.com/vim/vim/commit/ff41e9d853ef3e366575e375d8c40cf11d5e331b (v9.2.0320)
Fixed by: https://github.com/vim/vim/commit/b3faeecc976d3031d7c0675623516ec60c30f949 (v9.2.0679)