Name | CVE-2025-55157 |
Description | Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1400, When processing nested tuples in Vim script, an error during evaluation can trigger a use-after-free in Vim’s internal tuple reference management. Specifically, the tuple_unref() function may access already freed memory due to improper lifetime handling, leading to memory corruption. The exploit requires direct user interaction, as the script must be explicitly executed within Vim. This issue has been patched in version 9.1.1400. |
Source | CVE (at NVD; CERT, 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 | |
forky, sid, trixie | 2:9.1.1230-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
vim | source | (unstable) | (not affected) |
- vim <not-affected> (Vulnerable code introduced later)
https://github.com/vim/vim/security/advisories/GHSA-3r4f-mm4w-wgg6
Introduced with: https://github.com/vim/vim/commit/9cb865e95bba333fa7b47c39c2729c125b911e36 (v9.1.1232)
Fixed by: https://github.com/vim/vim/commit/1307743697bbc46e1518abfea7f89caa95bcaf97 (v9.1.1400)