CVE-2022-0158
published 2022-01-10CVE-2022-0158: Heap-based Buffer Overflow in vim/vim vim is vulnerable to Heap-based Buffer Overflow
low3.3CVSS 3.1
AVLACLPRNUIRSUCLINAN
EPSS
1.71%
74.5th percentile
Heap-based Buffer Overflow in vim/vim
vim is vulnerable to Heap-based Buffer Overflow
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos_big_sur | — | — |
| apple | macos_monterey | — | — |
| debian | vim | < vim 2:8.2.4659-1 (bookworm) | vim 2:8.2.4659-1 (bookworm) |
| msrc | cbl2_vim_8.2.4081-1_on_cbl_mariner_2.0 | — | — |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.9 | 2:8.2.3995-1ubuntu2.9 |
| vim | vim_vim | >= unspecified < 8.2 | 8.2 |
CVSS provenance
nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
nvdv3.06.8MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
cvelistv53.3LOW
osv7.8HIGH
cisa8.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian3.3LOW
vendor_msrc3.3LOW
vendor_redhat3.3LOW
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.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-07-03·CVSS 7.8
CVE-2022-0696 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim contained an out-of-bounds read vulnerability.
An attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. (CVE-2022-0128)
It was discovered that Vim did not properly manage memory when freeing
allocated memory. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (CVE-2022-0156)
It was discovered that Vim contained a heap-based buffer overflow
vulnerability. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. (CVE-2022-0158)
It was discovered that Vim did not properly manage memory when recording
and using select mode. An attacker could possibly use thi
Apple
CVE-2022-0158: macOS Big Sur 11.6.8
vendor_apple·2022-07-20·CVSS 3.3
CVE-2022-0158 [LOW] CVE-2022-0158: macOS Big Sur 11.6.8
Apple Security Update: About the security content of macOS Big Sur 11.6.8
Product: macOS Big Sur
Version: 11.6.8
CVE: CVE-2022-0158
Component: CVE-2022-0158
Apple
CVE-2022-0158: macOS Monterey 12.3
vendor_apple·2022-03-14·CVSS 3.3
CVE-2022-0158 [LOW] CVE-2022-0158: macOS Monterey 12.3
Apple Security Update: About the security content of macOS Monterey 12.3
Product: macOS Monterey
Version: 12.3
CVE: CVE-2022-0158
Component: CVE-2022-0158
CISA
Cisco IOS and XE Software Internet Key Exchange Memory Leak Vulnerability
cisa·2022-03-03·CVSS 8.6
CVE-2018-0158 [HIGH] CWE-20 Cisco IOS and XE Software Internet Key Exchange Memory Leak Vulnerability
Vulnerability: Cisco IOS and XE Software Internet Key Exchange Memory Leak Vulnerability
Affected: Cisco IOS Software and Cisco IOS XE Software
A vulnerability in the implementation of Internet Key Exchange Version 1 (IKEv1) functionality in Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause an affected device to reload, resulting in a denial-of-service (DoS) condition.
Required Action: Apply updates per vendor instructions.
Notes: https://nvd.nist.gov/vuln/detail/CVE-2018-0158
Remediation Due Date: 2022-03-17
Microsoft
Heap-based Buffer Overflow in vim/vim
vendor_msrc·2022-01-11·CVSS 3.3
CVE-2022-0158 [LOW] 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
Red Hat
vim: heap-based read buffer overflow in compile_get_env()
vendor_redhat·2022-01-10·CVSS 3.3
CVE-2022-0158 [LOW] CWE-122 vim: heap-based read buffer overflow in compile_get_env()
vim: heap-based read buffer overflow in compile_get_env()
vim is vulnerable to Heap-based Buffer Overflow
It was found that vim was vulnerable to a 1 byte heap based out of bounds read flaw in the `compile_get_env()` function. A file could use that flaw to disclose 1 byte of vim's internal memory.
Package: vim (Red Hat Enterprise Linux 6) - Not affected
Package: vim (Red Hat Enterprise Linux 7) - Not affected
Package: vim (Red Hat Enterprise Linux 8) - Not affected
Package: vim (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2022-0158: vim - vim is vulnerable to Heap-based Buffer Overflow
vendor_debian·2022·CVSS 3.3
CVE-2022-0158 [LOW] CVE-2022-0158: vim - vim is vulnerable to Heap-based Buffer Overflow
vim is vulnerable to Heap-based Buffer Overflow
Scope: local
bookworm: resolved (fixed in 2:8.2.4659-1)
bullseye: open
forky: resolved (fixed in 2:8.2.4659-1)
sid: resolved (fixed in 2:8.2.4659-1)
trixie: resolved (fixed in 2:8.2.4659-1)
CISA
Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
cisa·2021-11-03·CVSS 8.8
CVE-2012-0158 [HIGH] CWE-94 Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
Vulnerability: Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
Affected: Microsoft MSCOMCTL.OCX
Microsoft MSCOMCTL.OCX contains an unspecified vulnerability that allows for remote code execution, allowing an attacker to take complete control of an affected system under the context of the current user.
Required Action: Apply updates per vendor instructions.
Notes: https://nvd.nist.gov/vuln/detail/CVE-2012-0158
Remediation Due Date: 2022-05-03
OSV
vim vulnerabilities
osv·2023-07-03·CVSS 7.8
CVE-2022-0128 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim contained an out-of-bounds read vulnerability.
An attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. (CVE-2022-0128)
It was discovered that Vim did not properly manage memory when freeing
allocated memory. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (CVE-2022-0156)
It was discovered that Vim contained a heap-based buffer overflow
vulnerability. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. (CVE-2022-0158)
It was discovered that Vim did not properly manage memory when recording
and using select mode. An attacker could possibly use this issue to cause
a denial of service. (CVE-2022-0393)
It wa
CVEList
Heap-based Buffer Overflow in vim/vim
cvelistv5·2022-01-10·CVSS 3.3
CVE-2022-0158 [LOW] CWE-122 Heap-based Buffer Overflow in vim/vim
Heap-based Buffer Overflow in vim/vim
vim is vulnerable to Heap-based Buffer Overflow
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-01-10
Published