CVE-2022-1619Heap-based Buffer Overflow in function cmdline_erase_chars in vim/vim
Heap-based Buffer Overflow in function cmdline_erase_chars in GitHub repository vim/vim prior to 8.2.4899. This vulnerabilities are capable of crashing software, modify memory, and possible remote execution
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | vim | Fixed | 2:8.2.3995-1ubuntu2.1 | UBUNTU-CVE-2022-1619 |
| Ubuntu 20.04 | vim | Fixed | 2:8.1.2269-1ubuntu5.8 | UBUNTU-CVE-2022-1619 |
| Ubuntu 18.04 | vim | Fixed | 2:8.0.1453-1ubuntu1.9 | UBUNTU-CVE-2022-1619 |
| Ubuntu 16.04 | vim | Fix pending | 2:7.4.1689-3ubuntu1.5+esm6 (Ubuntu Pro) | UBUNTU-CVE-2022-1619 |
| Ubuntu 14.04 | vim | Fix pending | 2:7.4.052-1ubuntu3.1+esm5 (Ubuntu Pro) | UBUNTU-CVE-2022-1619 |
| Debian 14 | vim | Fixed | 2:9.0.0135-1 | DEBIAN-CVE-2022-1619 |
| Debian 13 | vim | Fixed | 2:9.0.0135-1 | DEBIAN-CVE-2022-1619 |
| Debian 12 | vim | Fixed | 2:9.0.0135-1 | DEBIAN-CVE-2022-1619 |
| Red Hat Enterprise Linux 9 | vim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | vim-X11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | vim-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | vim-enhanced | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | vim-filesystem | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | vim-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | vim | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | vim-X11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | vim-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | vim-enhanced | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | vim-filesystem | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | vim-minimal | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | vim | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | vim-X11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | vim-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | vim-enhanced | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | vim-filesystem | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | vim-minimal | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | vim | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | vim-X11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | vim-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | vim-enhanced | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | vim-filesystem | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | vim-minimal | Will not fix Will not fix | ||
| Alpine Linux 3.24 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.23 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.22 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.21 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.20 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.19 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.18 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.17 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
| Alpine Linux 3.16 | vim | Fixed | 8.2.4969-r0 | ALPINE-CVE-2022-1619 |
What the vendor says
As published in the CVE record by @huntrdev, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- vim/vim: affected: unspecified to before 8.2.4899; fixed in
8.2.4899
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202208-32 (vendor-advisory)
- https://security.gentoo.org/glsa/202305-16 (vendor-advisory)
References
- https://huntr.dev/bounties/b3200483-624e-4c76-a070-e246f62a7450
- https://github.com/vim/vim/commit/ef02f16609ff0a26ffc6e20263523424980898fe
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/
- https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/
- https://security.gentoo.org/glsa/202208-32
- https://security.netapp.com/advisory/ntap-20220930-0007/
- https://support.apple.com/kb/HT213488
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/28
- https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html
- https://security.gentoo.org/glsa/202305-16
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.