CVE-2024-22667 Memory corruption in n/a

High 7.8 Published Updated

A stack-based buffer overflow in Vim allows attackers to execute arbitrary code or cause a denial of service via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-22667?

CVE-2024-22667 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 5 Feb 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-787

Which versions are affected by CVE-2024-22667?

It affects 2 products.

Products include Fedoraproject Fedora, Vim Vim.

How do I fix CVE-2024-22667?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-22667 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-22667 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-34281, BELL-CVE-2024-22667, CLSA-2024-1709563938, CLSA-2024-1709564274, CLSA-2024-1710436524, DEBIAN-CVE-2024-22667 and 5 more.

Is CVE-2024-22667 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free