CVE-2022-0156
published 2022-01-10CVE-2022-0156: Use After Free in vim/vim vim is vulnerable to Use After Free
medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.72%
74.6th percentile
Use After Free in vim/vim
vim is vulnerable to Use After Free
Affected
7 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) |
| mellium.im | xmpp | >= 0.18.0 < 0.21.1 | 0.21.1 |
| 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.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:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
cvelistv55.5MEDIUM
ghsa5.9MEDIUM
osv7.8HIGH
cisa7.5HIGH
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.
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-0156: macOS Big Sur 11.6.8
vendor_apple·2022-07-20·CVSS 5.5
CVE-2022-0156 [MEDIUM] CVE-2022-0156: 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-0156
Component: CVE-2022-0156
Apple
CVE-2022-0156: macOS Monterey 12.3
vendor_apple·2022-03-14·CVSS 5.5
CVE-2022-0156 [MEDIUM] CVE-2022-0156: 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-0156
Component: CVE-2022-0156
CISA
Cisco IOS Software and Cisco IOS XE Software Smart Install Denial-of-Service Vulnerability
cisa·2022-03-03·CVSS 7.5
CVE-2018-0156 [HIGH] CWE-399 Cisco IOS Software and Cisco IOS XE Software Smart Install Denial-of-Service Vulnerability
Vulnerability: Cisco IOS Software and Cisco IOS XE Software Smart Install Denial-of-Service Vulnerability
Affected: Cisco IOS Software and Cisco IOS XE Software
A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to trigger a reload of an affected device, resulting in a denial-of-service (DoS) condition.
Required Action: Apply updates per vendor instructions.
Notes: https://nvd.nist.gov/vuln/detail/CVE-2018-0156
Remediation Due Date: 2022-03-17
Microsoft
Use After Free in vim/vim
vendor_msrc·2022-01-11·CVSS 5.5
CVE-2022-0156 [MEDIUM] CWE-416 Use After Free in vim/vim
Use After Free 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.com/en-us/a
Red Hat
vim: use-after-free while treating allocated lines in user functions
vendor_redhat·2022-01-10·CVSS 5.5
CVE-2022-0156 [MEDIUM] CWE-416 vim: use-after-free while treating allocated lines in user functions
vim: use-after-free while treating allocated lines in user functions
vim is vulnerable to Use After Free
It was found that vim was vulnerable to use-after-free flaw in the way it was treating allocated lines in user functions. A specially crafted file could crash the vim process or possibly lead to other undefined behaviors.
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-0156: vim - vim is vulnerable to Use After Free
vendor_debian·2022·CVSS 5.5
CVE-2022-0156 [MEDIUM] CVE-2022-0156: vim - vim is vulnerable to Use After Free
vim is vulnerable to Use After Free
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)
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
GHSA
Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket
ghsa·2022-02-16·CVSS 5.9
CVE-2022-24968 [MEDIUM] CWE-295 Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket
Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket
### Impact
If no TLS configuration is provided by the user, the websocket package constructs its own TLS configuration using recommended defaults. When looking up a WSS endpoint using the DNS TXT record method described in [XEP-0156: Discovering Alternative XMPP Connection Methods](https://xmpp.org/extensions/xep-0156.html) the ServerName field was incorrectly being set to the name of the server returned by the TXT record request, not the name of the initial server we were attempting to connect to. This means that any attacker that can spoof a DNS record (ie. in the absence of DNSSEC, DNS-over-TLS, DNS-over-HTTPS, or similar technologies) could redirect the user to a server of their choosing and as long as
CVEList
Use After Free in vim/vim
cvelistv5·2022-01-10·CVSS 5.5
CVE-2022-0156 [MEDIUM] CWE-416 Use After Free in vim/vim
Use After Free in vim/vim
vim is vulnerable to Use After Free
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-01-10
Published