CVE-2022-1942: apple macos Heap-based Buffer Overflow
CVSS: 7.8v3.0HighModified
AliasesUBUNTU-CVE-2022-1942DEBIAN-CVE-2022-1942
Published 31-05-2022Last modified 03-11-2025
Vulnerability summary
CVE-2022-1942 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in apple macos. EPSS estimates a 1.62% chance of exploitation in the next 30 days, higher than 75.6% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.8/10
010
High · v3.0 (CVE.org)EPSS score
1.62%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 31-05-2022PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
CVSS metrics
7 scores · 4 sources · 3 versionsHigh 7.8Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
High 7.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.62%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.62% on 19-09-2026
19-09-202619-10-2026
EPSS score1.62%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian2 products
- vim< 2:9.0.0135-1
- debian_linuxEOL10.0
Apple1 product
- macos< 13.0
Fedoraproject1 product
- fedoraEOL35
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm8 | < 2:7.4.1689-3ubuntu1.5+esm10 | < 2:8.0.1453-1ubuntu1.12 | < 2:8.1.2269-1ubuntu5.13 | < 2:8.2.3995-1ubuntu2.5
5 vendors · 7 products
References
15 links- lists.fedoraproject.org/archives/…Vendor Advisory
- support.apple.com/kb/HT213488Third Party Advisory
- security.gentoo.org/glsa/202305-16Vendor Advisory