Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vim | vim/vim | unspecified – < 8.2 | 8.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vim | 2:9.0.0135-1 | — |
| Debian 13 | vim | 2:9.0.0135-1 | — |
| Debian 12 | vim | 2:9.0.0135-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | vim | 2:8.2.3995-1ubuntu2.15 | USN-6557-1 |
| Ubuntu 20.04 LTS | vim | 2:8.1.2269-1ubuntu5.21 | USN-6557-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | vim | 2:8.0.1453-1ubuntu1.13+esm7 | USN-6557-1 |
| Ubuntu Pro 16.04 LTS | vim | 2:7.4.1689-3ubuntu1.5+esm22 | USN-6557-1 |
| Ubuntu Pro 14.04 LTS | vim | 2:7.4.052-1ubuntu3.1+esm15 | USN-6557-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | vim | 9.0.0453-2.1 | openSUSE-SU-2024:12337-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | vim | 8.2.5055-r0 | — |
| Alpine v3.23 | vim | 8.2.5055-r0 | — |
| Alpine v3.22 | vim | 8.2.5055-r0 | — |
| Alpine v3.21 | vim | 8.2.5055-r0 | — |
| Alpine v3.20 | vim | 8.2.5055-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | vim | 8.2.5055-r0 | — |
| Alpine v3.18 | vim | 8.2.5055-r0 | — |
| Alpine v3.17 | vim | 8.2.5055-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | vim-data +5 | 2:9.0.1160-1.amzn2023.0.2 | ALAS2023-2023-098 |
| Amazon Linux 2 | vim-X11 +5 | 2:8.2.5172-1.amzn2.0.1 | ALAS2-2022-1829 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | vim | 8.2.5064-1 | — |
Advisories 6
- USN-6557-1 vim vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- openSUSE-SU-2024:12337-1 gvim-9.0.0453-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- VDE-2022-046 PHOENIX CONTACT: Multiple Linux component vulnerabilities in PLCnext Firmware CERT@VDE · May 22, 2025
- ALAS2023-2023-098 Important: vim security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
- WID-SEC-2022-0078 vim: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Dec 14, 2023
- ALAS2-2022-1829 Moderate: vim security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 20, 2022
References
- https://huntr.dev/bounties/fa0ad526-b608-45b3-9ebc-f2b607834d6a
- https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7
- FEDORA-2022-bb2daad935 vendor-advisory
- GLSA-202208-32 vendor-advisory
- GLSA-202305-16 vendor-advisory