CVE-2022-1886
published 2022-05-26CVE-2022-1886: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
PriorityP335high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.31%
67.2th percentile
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
Affected
18 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 | — | — |
| msrc | cbl2_vim_8.2.5064-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.5064-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.5016 | 8.2.5016 |
| 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.21 | 2:8.1.2269-1ubuntu5.21 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.15 | 2:8.2.3995-1ubuntu2.15 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm15 | 2:7.4.052-1ubuntu3.1+esm15 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm22 | 2:7.4.1689-3ubuntu1.5+esm22 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm7 | 2:8.0.1453-1ubuntu1.13+esm7 |
| vim | vim_vim | >= unspecified < 8.2 | 8.2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.1HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.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-12-14·CVSS 5.5
CVE-2022-1725 [MEDIUM] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim could be made to dereference invalid memory. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1725)
It was discovered that Vim could be made to recurse infinitely. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771)
It was discovered that Vim could be made to write out of bounds with a put
command. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affected Ubuntu 22.04
LTS. (CVE-2022-1886)
It was discovered tha
GHSA
GHSA-v7h6-whhr-jv6v: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-05-27
CVE-2022-1886 [HIGH] CWE-122 GHSA-v7h6-whhr-jv6v: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-1886: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
osv·2022-05-26·CVSS 7.8
CVE-2022-1886 [HIGH] CVE-2022-1886: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-12-14·CVSS 5.5
CVE-2023-48706 [MEDIUM] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim could be made to dereference invalid memory. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-1725)
It was discovered that Vim could be made to recurse infinitely. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771)
It was discovered that Vim could be made to write out of bounds with a put
command. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue only affec
Red Hat
vim: heap-based buffer overflow in function utf_head_off
vendor_redhat·2022-05-26·CVSS 7.8
CVE-2022-1886 [HIGH] CWE-787 vim: heap-based buffer overflow in function utf_head_off
vim: heap-based buffer overflow in function utf_head_off
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
A heap buffer overflow flaw was found in Vim's utf_head_off() function in the mbyte.c file. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer overflow that causes an application to crash, leading to a denial of service and possibly some amount of memory leak.
Statement: The versions of Vim shipped with Red Hat Enterprise Linux are not affected, because there is no presence of vulnerable code in our code-base.
Red Hat Enterprise Virtualization 4 consumes RHEL-8 vim, and as RHEL-8 is not affected, Hence, RHEV is also not affected.
Red Hat Product Security has rated this issue as having a Moderate security
Microsoft
Heap-based Buffer Overflow in vim/vim
vendor_msrc·2022-05-10·CVSS 7.8
CVE-2022-1886 [HIGH] CWE-122 Heap-based Buffer Overflow in vim/vim
Heap-based Buffer Overflow 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
Debian
CVE-2022-1886: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
vendor_debian·2022·CVSS 7.8
CVE-2022-1886 [HIGH] CVE-2022-1886: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
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/2a585c85013be22f59f184d49612074fd9b115d7https://huntr.dev/bounties/fa0ad526-b608-45b3-9ebc-f2b607834d6ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYNK6SDCMOLQJOI3B4AOE66P2G2IH4ZM/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7https://huntr.dev/bounties/fa0ad526-b608-45b3-9ebc-f2b607834d6ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYNK6SDCMOLQJOI3B4AOE66P2G2IH4ZM/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16
2022-05-26
Published