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) | jessie, jessie (lts) | 2:7.4.488-7+deb8u11 | fixed |
| stretch (security) | 2:8.0.0197-4+deb9u7 | fixed |
| stretch (lts), stretch | 2:8.0.0197-4+deb9u11 | fixed |
| buster (security), buster, buster (lts) | 2:8.1.0875-5+deb10u6 | fixed |
| bullseye | 2:8.2.2434-3+deb11u1 | fixed |
| bookworm | 2:9.0.1378-2 | fixed |
| trixie | 2:9.1.0496-1 | fixed |
| sid | 2:9.1.0709-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 | jessie | (not affected) | | | |
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)
[jessie] - vim <not-affected> (Vulnerable feature and code introduced later)