CVE-2022-2980
published 2022-08-25CVE-2022-2980: NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
PriorityP416medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.69%
48.3th percentile
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0626-1 (bookworm) | vim 2:9.0.0626-1 (bookworm) |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_9.0.0325-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_9.0.0360-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.0259 | 9.0.0259 |
| vim | vim | >= 0 < 2:9.0.0626-1 | 2:9.0.0626-1 |
| vim | vim | >= 0 < 2:9.0.0626-1 | 2:9.0.0626-1 |
| vim | vim | >= 0 < 2:9.0.0626-1 | 2:9.0.0626-1 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.12 | 2:8.0.1453-1ubuntu1.12 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.13 | 2:8.1.2269-1ubuntu5.13 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.5 | 2:8.2.3995-1ubuntu2.5 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm8 | 2:7.4.052-1ubuntu3.1+esm8 |
| vim | vim_vim | >= unspecified < 9.0.0259 | 9.0.0259 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv3.06.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
vim vulnerabilities
osv·2023-04-04·CVSS 7.8
CVE-2022-0413 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially
GHSA
GHSA-rwgw-92hm-vcr8: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-08-26
CVE-2022-2980 [MEDIUM] CWE-476 GHSA-rwgw-92hm-vcr8: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0258.
OSV
CVE-2022-2980: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
osv·2022-08-25·CVSS 5.5
CVE-2022-2980 [MEDIUM] CVE-2022-2980: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-04-04·CVSS 7.8
CVE-2022-1968 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)
It was discovered that Vim incorrectly handled memory when opening certain
files.
Red Hat
vim: null pointer dereference in do_mouse() at src/mouse.c
vendor_redhat·2022-08-25·CVSS 5.5
CVE-2022-2980 [MEDIUM] CWE-476 vim: null pointer dereference in do_mouse() at src/mouse.c
vim: null pointer dereference in do_mouse() at src/mouse.c
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
A NULL pointer dereference vulnerability was found in vim's do_mouse() function of the src/mouse.c file. The issue occurs with a mouse click when it is not initialized. This flaw allows an attacker to trick a user into opening a specially crafted input file, triggering the vulnerability that could cause an application to crash.
Statement: Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.
Since Red Hat Enterprise Linux 6 and 7 are Out-of
Microsoft
NULL Pointer Dereference in vim/vim
vendor_msrc·2022-08-09·CVSS 5.5
CVE-2022-2980 [MEDIUM] CWE-476 NULL Pointer Dereference in vim/vim
NULL Pointer Dereference in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.c
Debian
CVE-2022-2980: vim - NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
vendor_debian·2022·CVSS 5.5
CVE-2022-2980 [MEDIUM] CVE-2022-2980: vim - NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.
Scope: local
bookworm: resolved (fixed in 2:9.0.0626-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0626-1)
sid: resolved (fixed in 2:9.0.0626-1)
trixie: resolved (fixed in 2:9.0.0626-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/80525751c5ce9ed82c41d83faf9ef38667bf61b1https://huntr.dev/bounties/6e7b12a5-242c-453d-b39e-9625d563b0eahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/80525751c5ce9ed82c41d83faf9ef38667bf61b1https://huntr.dev/bounties/6e7b12a5-242c-453d-b39e-9625d563b0eahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/https://security.gentoo.org/glsa/202305-16
2022-08-25
Published