Name | CVE-2022-0158 |
Description | vim is vulnerable to Heap-based Buffer Overflow |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
vim (PTS) | bullseye | 2:8.2.2434-3+deb11u1 | vulnerable |
| bookworm | 2:9.0.1378-2 | fixed |
| trixie | 2:9.1.0709-2 | fixed |
| sid | 2:9.1.0777-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
vim | source | stretch | (not affected) | | | |
vim | source | buster | (not affected) | | | |
vim | source | (unstable) | 2:8.2.4659-1 | unimportant | | |
Notes
[buster] - vim <not-affected> (The vulnerable code was introduced later)
[stretch] - vim <not-affected> (The vulnerable code was introduced later)
https://huntr.dev/bounties/ac5d7005-07c6-4a0a-b251-ba9cdbf6738b/
https://github.com/vim/vim/commit/5f25c3855071bd7e26255c68bf458b1b5cf92f39 (v8.2.4049)
Crash in CLI tool, no security impact