CVE-2024-22667

Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
CISA-ADPADP
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 34%
VendorProductVersion
vimvim
𝑥
< 9.0.2142
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
vim
bullseye
vulnerable
buster
no-dsa
bullseye (security)
2:8.2.2434-3+deb11u3
fixed
bookworm
2:9.0.1378-2+deb12u2
fixed
sid
2:9.1.1230-2
fixed
trixie
2:9.1.1230-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
vim
noble
not-affected
mantic
Fixed 2:9.0.1672-1ubuntu2.3
released
jammy
Fixed 2:8.2.3995-1ubuntu2.16
released
focal
Fixed 2:8.1.2269-1ubuntu5.22
released
bionic
Fixed 2:8.0.1453-1ubuntu1.13+esm8
released
xenial
Fixed 2:7.4.1689-3ubuntu1.5+esm23
released
trusty
Fixed 2:7.4.052-1ubuntu3.1+esm16
released