CVE-2022-1619 | Heap-based Buffer Overflow in function cmdline_erase_chars in vim/vim

Exp

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

Published: 2022-05-08 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-1619 is rated High Exploit Risk (76.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.86%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-1619

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-1619

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-01 2.64% 2.86% +0.22%
2 2026-05-05 1.15% 2.64% +1.49%
3 2026-04-28 1.15%

Full EPSS history (35 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-1619

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
6.1 3.0 MEDIUM
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 4.2 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2022-1619

OS Trackers for CVE-2022-1619

vendor priority summary link
alpine high CVE-2022-1619: 1 source package rows (vim); 83 state rows across 8 repos (3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 76. https://security.alpinelinux.org/vuln/CVE-2022-1619
debian unimportant CVE-2022-1619 unimportant priority: Debian including 1 source packages (vim), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2022-1619
gentoo low CVE-2022-1619: 2 GLSA(s) (202208-32, 202305-16), 3 atom(s) (app-editors/gvim, app-editors/vim, app-editors/vim-core); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-1619
redhat low https://access.redhat.com/security/cve/CVE-2022-1619
suse medium CVE-2022-1619 severity moderate: SUSE including 293 source package names (11.1-2.2.254:vim-8.2.5038-150000.5.21.1, 11.1-2.2.254:vim-data-common-8.2.5038-150000.5.21.1, …), 729 product×package rows across 204 product lines (Container ses/7.1/ceph/haproxy, Container suse/sle-micro-rancher/5.2, … (204 product lines)): Fixed 512, Known Affected 190, Known Not Affected 27. https://www.suse.com/security/cve/CVE-2022-1619/
ubuntu medium CVE-2022-1619 medium priority: Ubuntu including 1 source packages (vim), 7 status rows across 7 suites (bionic, focal, impish, jammy, trusty, upstream, xenial): released 6, ignored 1. https://ubuntu.com/security/CVE-2022-1619

Affected software / configurations for CVE-2022-1619

Vendor Product Version Raw CPE
vim vim < 8.2.4899 cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
netapp hci_management_node cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
netapp solidfire cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
apple macos < 13.0 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*

References for CVE-2022-1619

URL Tags
http://seclists.org/fulldisclosure/2022/Oct/28 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2022/Oct/41 Mailing List Third Party Advisory
https://github.com/vim/vim/commit/ef02f16609ff0a26ffc6e20263523424980898fe Patch Third Party Advisory
https://huntr.dev/bounties/b3200483-624e-4c76-a070-e246f62a7450 Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html Mailing List Third Party Advisory
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/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/
https://security.gentoo.org/glsa/202208-32 Third Party Advisory
https://security.gentoo.org/glsa/202305-16
https://security.netapp.com/advisory/ntap-20220930-0007/ Third Party Advisory
https://support.apple.com/kb/HT213488 Vendor Advisory
cvelogic Threat Intelligence