CVE-2024-22667 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.
HighCVSS 7.8
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/vim(Debian:12) | < 2:9.0.1378-2+deb12u1 | 2:9.0.1378-2+deb12u1 |
| debian/vim(Debian:12) | = 2:9.0.1378-2 | No fix listed |
| debian/vim(Debian:13) | < 2:9.0.2189-1 | 2:9.0.2189-1 |
| debian/vim(Debian:14) | < 2:9.0.2189-1 | 2:9.0.2189-1 |
| ubuntu/vim(Ubuntu:22.04) | < 2:8.2.3995-1ubuntu2.16 | 2:8.2.3995-1ubuntu2.16 |
| vim | < 9.0.2142 | 9.0.2142 |
| fedoraproject fedora | = 38 | No fix listed |
| fedoraproject fedora | = 39 | No fix listed |
References
- Debian Security Tracker CVE-2024-22667 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6698-1 vendor-advisory
- www.cve.org
- github.com patch
- gist.githubusercontent.com exploit third-party-advisory
- FEDORA-2024-12513b5cee third-party-advisory vendor-advisory
- FEDORA-2024-1c85d5b179 third-party-advisory vendor-advisory
- security.netapp.com third-party-advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org