CVE-2024-22667

Exp

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.

Published: 2024-02-05 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-22667 is rated High Exploit Risk (61.3/100): CVSS High severity, with low exploitation likelihood (EPSS 0.56%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-22667

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-22667

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.17% 0.56% +0.40%
2 2026-02-23 0.14% 0.17% +0.02%
3 2025-11-04 0.14%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-22667

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-22667

OS Trackers for CVE-2024-22667

vendor priority summary link
alpine CVE-2024-22667: 1 source package rows (vim); 3 state rows across 3 repos (3.17-main, 3.18-main, 3.19-main); fixed 0, open 3. https://security.alpinelinux.org/vuln/CVE-2024-22667
debian not yet assigned CVE-2024-22667 not yet assigned priority: Debian including 1 source packages (vim), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-22667
redhat low https://access.redhat.com/security/cve/CVE-2024-22667
suse high https://www.suse.com/security/cve/CVE-2024-22667/
ubuntu low CVE-2024-22667 low priority: Ubuntu including 1 source packages (vim), 8 status rows across 8 suites (bionic, focal, jammy, mantic, noble, trusty, upstream, xenial): released 7, not-affected 1. https://ubuntu.com/security/CVE-2024-22667

Affected software / configurations for CVE-2024-22667

Vendor Product Version Raw CPE
vim vim < 9.0.2142 cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

References for CVE-2024-22667

URL Tags
https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt Exploit Third Party Advisory
https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47 Patch
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20240223-0008/ Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/
https://lists.fedoraproject.org/archives/list/[email protected]/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/
cvelogic Threat Intelligence