vim is vulnerable to Heap-based Buffer Overflow
Conclusion & alert: CVE-2022-0158 is rated Exploit Available (55.7/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.71%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.48% over the last day, indicating growing attacker interest. 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.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
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-15 | 0.23% | 1.71% | +1.48% |
| 2 | 2026-01-20 | 0.13% | 0.23% | +0.10% |
| 3 | 2025-11-21 | — | 0.13% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 3.3 | 3.1 | LOW |
|
1.8 | 1.4 | [email protected] |
| 6.8 | 3.0 | MEDIUM |
|
2.5 | 4.2 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
low | CVE-2022-0158: 1 source package rows (vim); 54 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 8, open 46. | https://security.alpinelinux.org/vuln/CVE-2022-0158 |
debian
|
unimportant | CVE-2022-0158 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-0158 |
gentoo
|
low | CVE-2022-0158: 1 GLSA(s) (202208-32), 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-0158 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2022-0158 |
suse
|
medium | CVE-2022-0158 severity moderate: SUSE including 6 source package names (gvim, vim, vim-data, vim-data-common, vim-small, xxd), 134 product×package rows across 43 product lines (HPE Helion OpenStack 8, SUSE CaaS Platform 4.0, … (43 product lines)): Known Not Affected 134. | https://www.suse.com/security/cve/CVE-2022-0158/ |
ubuntu
|
medium | CVE-2022-0158 medium priority: Ubuntu including 1 source packages (vim), 10 status rows across 10 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, trusty, upstream, xenial): not-affected 6, ignored 2, released 2. | https://ubuntu.com/security/CVE-2022-0158 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vim | vim | < 8.2.4049 | 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:*:*:*:*:*:*:* |
| apple | macos | < 12.3 | cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* |
| apple | macos | >= 11.0, < 11.6.8 | cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://seclists.org/fulldisclosure/2022/Jul/13 | Mailing List Third Party Advisory |
| http://seclists.org/fulldisclosure/2022/Mar/29 | Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/01/15/1 | Mailing List Third Party Advisory |
| https://github.com/vim/vim/commit/5f25c3855071bd7e26255c68bf458b1b5cf92f39 | Patch Third Party Advisory |
| https://huntr.dev/bounties/ac5d7005-07c6-4a0a-b251-ba9cdbf6738b | Exploit Patch Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HD5S2FC2HF22A7XQXK2XXIR46EARVWIM/ | |
| https://security.gentoo.org/glsa/202208-32 | Third Party Advisory |
| https://support.apple.com/kb/HT213183 | Release Notes Third Party Advisory |
| https://support.apple.com/kb/HT213344 | Third Party Advisory |