CVE-2022-2208
published 2022-06-27CVE-2022-2208: NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
PriorityP417medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.30%
67.0th percentile
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0135-1 (bookworm) | vim 2:9.0.0135-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_8.2.5172-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_vim_8.2.5172-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.5163 | 8.2.5163 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.16 | 2:8.1.2269-1ubuntu5.16 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.10 | 2:8.2.3995-1ubuntu2.10 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm11 | 2:7.4.052-1ubuntu3.1+esm11 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm19 | 2:7.4.1689-3ubuntu1.5+esm19 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm3 | 2:8.0.1453-1ubuntu1.13+esm3 |
| vim | vim_vim | >= unspecified < 8.2.5163 | 8.2.5163 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
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-08-03·CVSS 7.8
CVE-2022-2182 [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-2182)
It was discovered that Vim incorrectly handled memory when deleting buffers
in diff mode. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-2208)
It was discovered that Vim incorrectly handled memory access. An attacker
could possibly use this issue to cause the corruption of sensitive
information, a crash, or arbitrary code execution. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, Ubu
GHSA
GHSA-7rm9-fj3j-7cmm: NULL Pointer Dereference in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-06-28
CVE-2022-2208 [MEDIUM] CWE-476 GHSA-7rm9-fj3j-7cmm: NULL Pointer Dereference in GitHub repository vim/vim prior to 8
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-2208: NULL Pointer Dereference in GitHub repository vim/vim prior to 8
osv·2022-06-27·CVSS 5.5
CVE-2022-2208 [MEDIUM] CVE-2022-2208: NULL Pointer Dereference in GitHub repository vim/vim prior to 8
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-08-03·CVSS 7.8
CVE-2022-2208 [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-2182)
It was discovered that Vim incorrectly handled memory when deleting buffers
in diff mode. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-2208)
It was discovered that Vim incorrectly handled memory access. An attacker
could possibly use this issue to cause the corruption of sensitive
information, a crash, or arbitrary code execution. This
Red Hat
vim: null pointer dereference in function diff_check
vendor_redhat·2022-06-27·CVSS 5.5
CVE-2022-2208 [MEDIUM] CWE-476 vim: null pointer dereference in function diff_check
vim: null pointer dereference in function diff_check
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
Statement: Red Hat has determined that this vulnerability is of low impact as the resulting DoS would only cause a crash in vim, which can be immediately restarted, and does not affect system stability or give the attacker the ability for arbitrary code execution.
Mitigation: Untrusted vim scripts with -s [scriptin] are not recommended to run.
Package: vim (Red Hat Enterprise Linux 6) - Out of support scope
Package: vim (Red Hat Enterprise Linux 7) - Out of support scope
Package: vim (Red Hat Enterprise Linux 8) - Fix deferred
Package: vim (Red Hat Enterprise Linux 9) - Fix deferred
Microsoft
NULL Pointer Dereference in vim/vim
vendor_msrc·2022-06-14·CVSS 5.5
CVE-2022-2208 [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-2208: vim - NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
vendor_debian·2022·CVSS 5.5
CVE-2022-2208 [MEDIUM] CVE-2022-2208: vim - NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
NULL Pointer Dereference in GitHub repository vim/vim prior to 8.2.5163.
Scope: local
bookworm: resolved (fixed in 2:9.0.0135-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0135-1)
sid: resolved (fixed in 2:9.0.0135-1)
trixie: resolved (fixed in 2:9.0.0135-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/cd38bb4d83c942c4bad596835c6766cbf32e5195https://huntr.dev/bounties/7bfe3d5b-568f-4c34-908f-a39909638cc1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/cd38bb4d83c942c4bad596835c6766cbf32e5195https://huntr.dev/bounties/7bfe3d5b-568f-4c34-908f-a39909638cc1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16
2022-06-27
Published