CVE-2022-2580
published 2022-08-01CVE-2022-2580: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
PriorityP432high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.49%
38.7th percentile
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | — | — |
| msrc | cbl2_vim_9.0.0325-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_9.0.0181-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.0102 | 9.0.0102 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.17 | 2:8.1.2269-1ubuntu5.17 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.11 | 2:8.2.3995-1ubuntu2.11 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm12 | 2:7.4.052-1ubuntu3.1+esm12 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm4 | 2:8.0.1453-1ubuntu1.13+esm4 |
| vim | vim_vim | >= unspecified < 9.0.0102 | 9.0.0102 |
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.3HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
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-08-21·CVSS 7.8
CVE-2022-2522 [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-2522, CVE-2022-2580,
CVE-2022-2817, CVE-2022-2819, CVE-2022-2862, CVE-2022-2889, CVE-2022-2982,
CVE-2022-3134)
It was discovered that Vim did not properly perform bounds checks in the
diff mode in certain situations. 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-2598)
It was discovered that Vim did not properly perform bounds checks in
certain situations. An attacker could possibly u
GHSA
GHSA-pr5g-w2hx-2xfx: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-08-02
CVE-2022-2580 [HIGH] CWE-122 GHSA-pr5g-w2hx-2xfx: 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.0102.
OSV
CVE-2022-2580: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
osv·2022-08-01·CVSS 7.8
CVE-2022-2580 [HIGH] CVE-2022-2580: 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.0102.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-08-21·CVSS 7.8
CVE-2022-2580 [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-2522, CVE-2022-2580,
CVE-2022-2817, CVE-2022-2819, CVE-2022-2862, CVE-2022-2889, CVE-2022-2982,
CVE-2022-3134)
It was discovered that Vim did not properly perform bounds checks in the
diff mode in certain situations. 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-2598)
It was discovered that Vim did not properly perform bound
Microsoft
Heap-based Buffer Overflow in vim/vim
vendor_msrc·2022-08-09·CVSS 7.8
CVE-2022-2580 [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
Red Hat
vim: Out-of-bounds Read in vim
vendor_redhat·2022-08-01·CVSS 7.8
CVE-2022-2580 [HIGH] CWE-122 vim: Out-of-bounds Read in vim
vim: Out-of-bounds Read in vim
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
A flaw was found in vim. The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or 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) - Not affected
Package: vim (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2022-2580: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
vendor_debian·2022·CVSS 7.8
CVE-2022-2580 [HIGH] CVE-2022-2580: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-08-01
Published