CVE-2022-2980 | NULL Pointer Dereference in vim/vim

Exp

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.

Published: 2022-08-25 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-2980 is rated Exploit Available (53.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.67%). 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-2980

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

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

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.20% 0.67% +0.47%
2 2026-06-14 0.05% 0.20% +0.15%
3 2026-02-01 0.05%

Full EPSS history (16 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]
6.3 3.0 MEDIUM
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
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:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.8 3.4 [email protected]

Weakness enumeration for CVE-2022-2980

OS Trackers for CVE-2022-2980

vendor priority summary link
alpine medium CVE-2022-2980: 1 source package rows (vim); 112 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 105. https://security.alpinelinux.org/vuln/CVE-2022-2980
debian unimportant CVE-2022-2980 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-2980
gentoo low CVE-2022-2980: 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-2980
redhat low https://access.redhat.com/security/cve/CVE-2022-2980
suse low CVE-2022-2980 severity low: SUSE including 286 source package names (11.1-2.2.326:vim-9.0.0814-150000.5.28.1, 11.1-2.2.326:vim-data-common-9.0.0814-150000.5.28.1, …), 704 product×package rows across 196 product lines (Container ses/7.1/ceph/haproxy, Container suse/sle-micro-rancher/5.2, … (196 product lines)): Fixed 588, Known Affected 116. https://www.suse.com/security/cve/CVE-2022-2980/
ubuntu medium CVE-2022-2980 medium priority: Ubuntu including 1 source packages (vim), 7 status rows across 7 suites (bionic, focal, jammy, kinetic, trusty, upstream, xenial): released 4, not-affected 3. https://ubuntu.com/security/CVE-2022-2980

Affected software / configurations for CVE-2022-2980

Vendor Product Version Raw CPE
vim vim < 9.0.0259 cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

References for CVE-2022-2980

cvelogic Threat Intelligence