Vulnerability · Published Feb 5, 2024 · Assigned by mitre

CVE-2024-22667

High 7.8

In plain English

A high-severity out-of-bounds write in the vim package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.6%top 53.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12vim2:9.0.1378-2+deb12u1DEBIAN-CVE-2024-22667
Debian:13vim2:9.0.2189-1DEBIAN-CVE-2024-22667
Debian:14vim2:9.0.2189-1DEBIAN-CVE-2024-22667
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.16USN-6698-1
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.16UBUNTU-CVE-2024-22667

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References