CVE-2024-22667: Buffer Overflow
Vim before 9.0.2142 has a stack-based buffer overflow because didsetlangmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.1.0016-1Fixed in 2:9.1.0199-1 - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:8.0.1453-1ubuntu1.13+ - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:8.1.2269-1ubuntu5.22 - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:8.2.3995-1ubuntu2.16 - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:9.0.1672-1ubuntu2.3 - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:7.4.052-1ubuntu3.1+ - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:9.0.2189-1 - Upgrade
Upgrade
ubuntu/vimto a version that resolves this vulnerability.Fixed in 2:7.4.1689-3ubuntu1.5+
Event History
Frequently Asked Questions
What is the severity of CVE-2024-22667?
CVE-2024-22667 is classified as a high severity vulnerability due to its stack-based buffer overflow nature.
How do I fix CVE-2024-22667?
To fix CVE-2024-22667, update Vim to version 9.0.2142 or later.
What versions of Vim are affected by CVE-2024-22667?
CVE-2024-22667 affects all Vim versions before 9.0.2142.
Can CVE-2024-22667 be exploited remotely?
Yes, CVE-2024-22667 can potentially be exploited remotely, allowing for arbitrary code execution.
Which operating systems are impacted by CVE-2024-22667?
CVE-2024-22667 impacts multiple Linux distributions that package vulnerable versions of Vim.