CVE-2022-1381

NameCVE-2022-1381
Descriptionglobal heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
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+deb9u7fixed
stretch (lts), stretch2:8.0.0197-4+deb9u11fixed
buster (security), buster, buster (lts)2:8.1.0875-5+deb10u6fixed
bullseye2:8.2.2434-3+deb11u1fixed
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)
vimsourcestretch(not affected)
vimsourcebuster(not affected)
vimsourcebullseye(not affected)
vimsource(unstable)2:8.2.4793-1

Notes

[bullseye] - vim <not-affected> (affects visual range parsing, which was added in 8.2.4633)
[buster] - vim <not-affected> (affects visual range parsing, which was added in 8.2.4633)
https://huntr.dev/bounties/55f9c0e8-c221-48b6-a00e-bdcaebaba4a4/
https://github.com/vim/vim/commit/f50808ed135ab973296bca515ae4029b321afe47 (v8.2.4763)
[stretch] - vim <not-affected> (affects visual range prasing, which was added in 8.2.4633)
[jessie] - vim <not-affected> (affects visual range prasing, which was added in 8.2.4633)

Search for package or bug name: Reporting problems