CVE-2022-3591 | Use After Free in vim/vim

Use After Free in GitHub repository vim/vim prior to 9.0.0789.

Published: 2022-12-02 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-3591 is rated Moderate Risk (41.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.37%). Mandatory action: Review affected assets and schedule remediation.

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

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

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.08% 0.37% +0.29%
2 2025-03-30 0.27% 0.08% -0.19%
3 2025-03-29 0.27%

Full EPSS history (7 records total)

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

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]
7.8 3.0 HIGH
CVSS:3.0/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]

Weakness enumeration for CVE-2022-3591

OS Trackers for CVE-2022-3591

vendor priority summary link
alpine high CVE-2022-3591: 1 source package rows (vim); 130 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 130. https://security.alpinelinux.org/vuln/CVE-2022-3591
debian unimportant CVE-2022-3591 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-3591
gentoo low CVE-2022-3591: 1 GLSA(s) (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-3591
redhat low https://access.redhat.com/security/cve/CVE-2022-3591
suse high CVE-2022-3591 severity important: SUSE including 276 source package names (11.1-2.2.335:vim-9.0.1040-150000.5.31.1, 11.1-2.2.335:vim-data-common-9.0.1040-150000.5.31.1, …), 696 product×package rows across 190 product lines (Container ses/7.1/ceph/haproxy, Container suse/sle-micro-rancher/5.2, … (190 product lines)): Fixed 566, Known Affected 124, Known Not Affected 6. https://www.suse.com/security/cve/CVE-2022-3591/
ubuntu low CVE-2022-3591 low priority: Ubuntu including 1 source packages (vim), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 6, ignored 1, not-affected 1. https://ubuntu.com/security/CVE-2022-3591

Affected software / configurations for CVE-2022-3591

Vendor Product Version Raw CPE
vim vim < 9.0.0789 cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

References for CVE-2022-3591

cvelogic Threat Intelligence