CVE-2024-22667

EUVD-2024-20200
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
NISTPrimary
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
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: 37%
Affected Products (NVD)
VendorProductVersion
vimvim
𝑥
< 9.0.2142
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
vim
bookworm
2:9.0.1378-2+deb12u2
fixed
bullseye
vulnerable
bullseye (security)
2:8.2.2434-3+deb11u3
fixed
buster
no-dsa
forky
2:9.1.1882-1
fixed
sid
2:9.1.1882-1
fixed
trixie
2:9.1.1230-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
vim
bionic
Fixed 2:8.0.1453-1ubuntu1.13+esm8
released
focal
Fixed 2:8.1.2269-1ubuntu5.22
released
jammy
Fixed 2:8.2.3995-1ubuntu2.16
released
mantic
Fixed 2:9.0.1672-1ubuntu2.3
released
noble
not-affected
trusty
Fixed 2:7.4.052-1ubuntu3.1+esm16
released
xenial
Fixed 2:7.4.1689-3ubuntu1.5+esm23
released