CVE-2024-22667

7.8 HIGH
Published: February 05, 2024 Modified: November 04, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://security.netapp.com/advisory/ntap-20240223-0008/
Source: cve@mitre.org
Third Party Advisory
https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
https://security.netapp.com/advisory/ntap-20240223-0008/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

13 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.8 / 10.0
EPSS (Exploit Probability)
0.1%
34th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

vim fedoraproject