CVE Catalog

CVE-2024-22667

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Summary

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 passed down to the option callback functions.

Risk Assessment

A stack-based buffer overflow could allow arbitrary code execution or cause Vim to crash when processing crafted input, compromising user security.

Recommendation

Update Vim to version 9.0.2142 or later, which fixes the buffer overflow in did_set_langmap.

Other vulnerabilities in Vim

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS