CVE-2021-4166

NameCVE-2021-4166
Descriptionvim is vulnerable to Out-of-bounds Read
SourceCVE (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 PackageReleaseVersionStatus
vim (PTS)jessie, jessie (lts)2:7.4.488-7+deb8u11fixed
stretch (security)2:8.0.0197-4+deb9u7vulnerable
stretch (lts), stretch2:8.0.0197-4+deb9u11vulnerable
buster (security), buster, buster (lts)2:8.1.0875-5+deb10u6vulnerable
bullseye2:8.2.2434-3+deb11u1vulnerable
bookworm2:9.0.1378-2fixed
sid, trixie2:9.1.0861-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
vimsourcejessie(not affected)
vimsource(unstable)2:8.2.3995-1unimportant

Notes

https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035
https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682 (v8.2.3884)
Crash in CLI tool, no security impact
[jessie] - vim <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems