CVE-2022-3278
published 2022-09-23CVE-2022-3278: NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
PriorityP416medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.80%
52.0th percentile
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
Affected
15 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 | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_9.0.0614-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_9.0.0614-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.0552 | 9.0.0552 |
| 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.1.2269-1ubuntu5.18 | 2:8.1.2269-1ubuntu5.18 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.12 | 2:8.2.3995-1ubuntu2.12 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm13 | 2:7.4.052-1ubuntu3.1+esm13 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm5 | 2:8.0.1453-1ubuntu1.13+esm5 |
| vim | vim_vim | >= unspecified < 9.0.0552 | 9.0.0552 |
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.8MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/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-10-09·CVSS 7.8
CVE-2022-3235 [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 possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-3235, CVE-2022-3278,
CVE-2022-3297, CVE-2022-3491)
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 possibly execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-3352, CVE-2022-4292)
It was discovered that Vim incorrectly handled memory when replacing in
virtualedit mode. An attacker could possibly us
GHSA
GHSA-c92m-jh9p-prmj: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-09-25
CVE-2022-3278 [MEDIUM] CWE-476 GHSA-c92m-jh9p-prmj: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
OSV
CVE-2022-3278: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
osv·2022-09-23·CVSS 5.5
CVE-2022-3278 [MEDIUM] CVE-2022-3278: NULL Pointer Dereference in GitHub repository vim/vim prior to 9
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-10-09·CVSS 7.8
CVE-2022-3591 [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 possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-3235, CVE-2022-3278,
CVE-2022-3297, CVE-2022-3491)
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 possibly execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-3352, CVE-2022-4292)
It was discovered that Vim incorrectly handled memory when
Red Hat
vim: null pointer dereference in eval_next_non_blank() in eval.c
vendor_redhat·2022-09-24·CVSS 5.5
CVE-2022-3278 [MEDIUM] CWE-476 vim: null pointer dereference in eval_next_non_blank() in eval.c
vim: null pointer dereference in eval_next_non_blank() in eval.c
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
A NULL pointer dereference vulnerability was found in Vim's eval_next_non_blank() function of the src/eval.c file. The flaw occurs when using NUL in buffer uses :source. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a NULL pointer dereference that causes a denial of service.
Statement: Red Hat Enterprise Linux 6, 7, and 8 are not affected, as versions of VIM shipped does not contain vulnerable function/code.
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. Running untrusted files in script mode is equivalent
Microsoft
NULL Pointer Dereference in vim/vim
vendor_msrc·2022-09-13·CVSS 5.5
CVE-2022-3278 [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-3278: vim - NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
vendor_debian·2022·CVSS 5.5
CVE-2022-3278 [MEDIUM] CVE-2022-3278: vim - NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0552.
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/69082916c8b5d321545d60b9f5facad0a2dd5a4ehttps://huntr.dev/bounties/a9fad77e-f245-4ce9-ba15-c7d4c86c4612https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/69082916c8b5d321545d60b9f5facad0a2dd5a4ehttps://huntr.dev/bounties/a9fad77e-f245-4ce9-ba15-c7d4c86c4612https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/https://security.gentoo.org/glsa/202305-16
2022-09-23
Published