Name | CVE-2021-3875 |
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) |
Debian Bugs | 996593 |
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 | fixed |
| bookworm | 2:9.0.1378-2 | fixed |
| sid, trixie | 2:9.1.0861-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 | bullseye | (not affected) | | | |
vim | source | (unstable) | 2:8.2.3565-1 | | | 996593 |
Notes
[bullseye] - vim <not-affected> (Vulnerable feature and code introduced later)
[buster] - vim <not-affected> (Vulnerable feature and code introduced later)
[stretch] - vim <not-affected> (Vulnerable feature and code introduced later)
https://huntr.dev/bounties/5cdbc168-6ba1-4bc2-ba6c-28be12166a53/
Search from cursor position introduced in: https://github.com/vim/vim/commit/04db26b36000a4677b95403ec94bd11f6cc73975 (v8.2.3110)
Fixed by: https://github.com/vim/vim/commit/35a319b77f897744eec1155b736e9372c9c5575f (v8.2.3489)