CVE-2022-3520
published 2022-12-02CVE-2022-3520: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
PriorityP337critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.00%
58.5th percentile
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0813-1 (bookworm) | vim 2:9.0.0813-1 (bookworm) |
| vim | vim | < 9.0.0765 | 9.0.0765 |
| vim | vim | >= 0 < 2:9.0.0813-1 | 2:9.0.0813-1 |
| vim | vim | >= 0 < 2:9.0.0813-1 | 2:9.0.0813-1 |
| vim | vim | >= 0 < 2:9.0.0813-1 | 2:9.0.0813-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.0765 | 9.0.0765 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu7.8HIGH
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
OSV
CVE-2022-3520: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
osv·2022-12-02·CVSS 9.8
CVE-2022-3520 [CRITICAL] CVE-2022-3520: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
GHSA
GHSA-gv4p-r3qv-2w44: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-12-02
CVE-2022-3520 [CRITICAL] CWE-122 GHSA-gv4p-r3qv-2w44: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
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: Heap-based Buffer Overflow
vendor_redhat·2022-12-02·CVSS 9.8
CVE-2022-3520 [CRITICAL] CWE-787 vim: Heap-based Buffer Overflow
vim: Heap-based Buffer Overflow
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
Statement: 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. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.
For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle & Updates Policy: https://access.redhat.com/support/policy/updates/errata/.
Mitigation: Untrusted vim scripts with -s [scriptin] are not recommended to run.
Package: vim (Red Hat Enterprise Linux 6) - Out of support scope
Package:
Oracle
Oracle Oracle Communications Risk Matrix: Policy (lz4) — CVE-2021-3520
vendor_oracle·2022-04-15·CVSS 9.8
CVE-2021-3520 [CRITICAL] Oracle Oracle Communications Risk Matrix: Policy (lz4) — CVE-2021-3520
Oracle Oracle Communications Risk Matrix: Policy (lz4) vulnerability
CVE: CVE-2021-3520
CVSS: 9.8
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpuapr2022 (APR 2022)
Debian
CVE-2022-3520: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
vendor_debian·2022·CVSS 9.8
CVE-2022-3520 [CRITICAL] CVE-2022-3520: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.
Scope: local
bookworm: resolved (fixed in 2:9.0.0813-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0813-1)
sid: resolved (fixed in 2:9.0.0813-1)
trixie: resolved (fixed in 2:9.0.0813-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4bhttps://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4bhttps://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246https://security.gentoo.org/glsa/202305-16https://security.netapp.com/advisory/ntap-20241115-0010/
2022-12-02
Published