First published: Mon Feb 05 2024(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/vim | <=2:8.1.0875-5+deb10u2<=2:8.1.0875-5+deb10u6<=2:8.2.2434-3+deb11u1<=2:9.0.1378-2 | 2:9.1.0016-1 2:9.1.0199-1 |
ubuntu/vim | <2:8.0.1453-1ubuntu1.13+ | 2:8.0.1453-1ubuntu1.13+ |
ubuntu/vim | <2:8.1.2269-1ubuntu5.22 | 2:8.1.2269-1ubuntu5.22 |
ubuntu/vim | <2:8.2.3995-1ubuntu2.16 | 2:8.2.3995-1ubuntu2.16 |
ubuntu/vim | <2:9.0.1672-1ubuntu2.3 | 2:9.0.1672-1ubuntu2.3 |
ubuntu/vim | <2:7.4.052-1ubuntu3.1+ | 2:7.4.052-1ubuntu3.1+ |
ubuntu/vim | <2:9.0.2189-1 | 2:9.0.2189-1 |
ubuntu/vim | <2:7.4.1689-3ubuntu1.5+ | 2:7.4.1689-3ubuntu1.5+ |
SUSE Vim | <9.0.2142 | |
Red Hat Fedora | =38 | |
Red Hat Fedora | =39 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-22667 is classified as a high severity vulnerability due to its stack-based buffer overflow nature.
To fix CVE-2024-22667, update Vim to version 9.0.2142 or later.
CVE-2024-22667 affects all Vim versions before 9.0.2142.
Yes, CVE-2024-22667 can potentially be exploited remotely, allowing for arbitrary code execution.
CVE-2024-22667 impacts multiple Linux distributions that package vulnerable versions of Vim.