VDB
CVE-2024-22667
CVE-2024-22667
PUBLISHED
CVSS 7.8 HIGH
Reported by mitre · Published February 5, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim-enhanced | Amazon Linux | 2:9.0.2153-1.amzn2023, 2:9.0.2153-1.amzn2.0.1 |
| xxd | Amazon Linux | 2:9.0.2153-1.amzn2023, 2:9.0.2153-1.amzn2.0.1 |
| vim-common | Amazon Linux | 2:9.0.2153-1.amzn2023, 2:9.0.2153-1.amzn2.0.1 |
| vim-minimal | Amazon Linux | 2:9.0.2153-1.amzn2023, 2:9.0.2153-1.amzn2.0.1 |
| vim-data | Amazon Linux | 2:9.0.2153-1.amzn2023, 2:9.0.2153-1.amzn2.0.1 |
| vim-default-editor | Amazon Linux | 2:9.0.2153-1.amzn2023 |
| vim-X11 | Amazon Linux | 2:9.0.2153-1.amzn2.0.1 |
| vim | vim | 9.0.2142 |
Risk scores
CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2 | xxd | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2 | vim-minimal | 0 |
| amazon:2023 | vim-minimal | 0 |
| amazon:2 | vim-enhanced | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2023 | vim-common | 0 |
| amazon:2 | vim-data | 0 |
| amazon:2023 | xxd | 0 |
| amazon:2 | vim-X11 | 0 |
| n/a | n/a | * |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2 | vim-filesystem | 0 |
Timeline
- Feb 4, 2024 CVE Published
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jun 2, 2026 Security Advisory (2 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-22667
vulnetix vdb fixes CVE-2024-22667
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-22667/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2024-12513b5cee vendor-advisory
- FEDORA-2024-1c85d5b179 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/ url