CVE-2022-2124
published 2022-06-19CVE-2022-2124: Buffer Over-read in GitHub repository vim/vim prior to 8.2.
PriorityP434high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.48%
70.7th percentile
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos | < 11.7 | 11.7 |
| apple | macos | >= 12.0 < 12.6 | 12.6 |
| apple | macos_big_sur | — | — |
| apple | macos_monterey | — | — |
| apple | macos_ventura | — | — |
| debian | debian_linux | — | — |
| debian | vim | < vim 2:9.0.0135-1 (bookworm) | vim 2:9.0.0135-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_8.2.5172-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_8.2.5154-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.5120 | 8.2.5120 |
| 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.0.1453-1ubuntu1.12 | 2:8.0.1453-1ubuntu1.12 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.13 | 2:8.1.2269-1ubuntu5.13 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.5 | 2:8.2.3995-1ubuntu2.5 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm8 | 2:7.4.052-1ubuntu3.1+esm8 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm13 | 2:7.4.1689-3ubuntu1.5+esm13 |
| 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.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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_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-04-04·CVSS 7.8
CVE-2022-0413 [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 possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially
OSV
vim vulnerabilities
osv·2022-11-14·CVSS 5.5
CVE-2022-1674 [MEDIUM] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim could be made to crash when searching specially
crafted patterns. An attacker could possibly use this to crash Vim and
cause denial of service. (CVE-2022-1674)
It was discovered that there existed a NULL pointer dereference in Vim. An
attacker could possibly use this to crash Vim and cause denial of service.
(CVE-2022-1725)
It was discovered that there existed a buffer over-read in Vim when
searching specially crafted patterns. An attacker could possibly use this
to crash Vim and cause denial of service. (CVE-2022-2124)
It was discovered that there existed a heap buffer overflow in Vim when
auto-indenting lisp. An attacker could possibly use this to crash Vim and
cause denial of service. (CVE-2022-2125)
It was discovered that there existe
GHSA
GHSA-2mhg-3m7f-9876: Buffer Over-read in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-06-20
CVE-2022-2124 [HIGH] CWE-125 GHSA-2mhg-3m7f-9876: Buffer Over-read in GitHub repository vim/vim prior to 8
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-2124: Buffer Over-read in GitHub repository vim/vim prior to 8
osv·2022-06-19·CVSS 7.8
CVE-2022-2124 [HIGH] CVE-2022-2124: Buffer Over-read in GitHub repository vim/vim prior to 8
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-04-04·CVSS 7.8
CVE-2022-1968 [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 possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)
It was discovered that Vim incorrectly handled memory when opening certain
files.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2022-11-14·CVSS 5.5
CVE-2022-1674 [MEDIUM] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim could be made to crash when searching specially
crafted patterns. An attacker could possibly use this to crash Vim and
cause denial of service. (CVE-2022-1674)
It was discovered that there existed a NULL pointer dereference in Vim. An
attacker could possibly use this to crash Vim and cause denial of service.
(CVE-2022-1725)
It was discovered that there existed a buffer over-read in Vim when
searching specially crafted patterns. An attacker could possibly use this
to crash Vim and cause denial of service. (CVE-2022-2124)
It was discovered that there existed a heap buffer overflow in Vim when
auto-indenting lisp. An attacker could possibly use this to crash Vim and
cause denial of s
Apple
CVE-2022-2124: macOS Ventura 13
vendor_apple·2022-10-24·CVSS 7.8
CVE-2022-2124 [HIGH] CVE-2022-2124: macOS Ventura 13
Apple Security Update: About the security content of macOS Ventura 13
Product: macOS Ventura
Version: 13
CVE: CVE-2022-2124
Component: CVE-2022-2124
Apple
CVE-2022-2124: macOS Monterey 12.6
vendor_apple·2022-09-12·CVSS 7.8
CVE-2022-2124 [HIGH] CVE-2022-2124: macOS Monterey 12.6
Apple Security Update: About the security content of macOS Monterey 12.6
Product: macOS Monterey
Version: 12.6
CVE: CVE-2022-2124
Component: CVE-2022-2124
Apple
CVE-2022-2124: macOS Big Sur 11.7
vendor_apple·2022-09-12·CVSS 7.8
CVE-2022-2124 [HIGH] CVE-2022-2124: macOS Big Sur 11.7
Apple Security Update: About the security content of macOS Big Sur 11.7
Product: macOS Big Sur
Version: 11.7
CVE: CVE-2022-2124
Component: CVE-2022-2124
Red Hat
vim: out of bounds read in current_quote()
vendor_redhat·2022-06-19·CVSS 7.8
CVE-2022-2124 [HIGH] CWE-126 vim: out of bounds read in current_quote()
vim: out of bounds read in current_quote()
Buffer Over-read in GitHub repository vim/vim prior to 8.2.
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/
Red Hat Enterprise Linux 6 and 7 are out of support scope for this flaw. To learn more about RHEL support scopes, please see https://access.redhat.com/support/policy/updates/errata/ .
Package: vim (Red Hat Enterprise Linux 6) - Out of support scope
Package: vim (Red Hat Enter
Microsoft
Buffer Over-read in vim/vim
vendor_msrc·2022-06-14·CVSS 7.8
CVE-2022-2124 [HIGH] CWE-126 Buffer Over-read in vim/vim
Buffer Over-read 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
Debian
CVE-2022-2124: vim - Buffer Over-read in GitHub repository vim/vim prior to 8.2.
vendor_debian·2022·CVSS 7.8
CVE-2022-2124 [HIGH] CVE-2022-2124: vim - Buffer Over-read in GitHub repository vim/vim prior to 8.2.
Buffer Over-read 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.
http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41http://seclists.org/fulldisclosure/2022/Oct/43http://seclists.org/fulldisclosure/2022/Oct/45https://github.com/vim/vim/commit/2f074f4685897ab7212e25931eeeb0212292829fhttps://huntr.dev/bounties/8e9e056d-f733-4540-98b6-414bf36e0b42https://lists.debian.org/debian-lts-announce/2022/06/msg00014.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://support.apple.com/kb/HT213443https://support.apple.com/kb/HT213444https://support.apple.com/kb/HT213488http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41http://seclists.org/fulldisclosure/2022/Oct/43http://seclists.org/fulldisclosure/2022/Oct/45https://github.com/vim/vim/commit/2f074f4685897ab7212e25931eeeb0212292829fhttps://huntr.dev/bounties/8e9e056d-f733-4540-98b6-414bf36e0b42https://lists.debian.org/debian-lts-announce/2022/06/msg00014.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://support.apple.com/kb/HT213443https://support.apple.com/kb/HT213444https://support.apple.com/kb/HT213488
2022-06-19
Published