CVE-2022-0318: apple macos Heap-based Buffer Overflow
CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2022-0318DEBIAN-CVE-2022-0318
Published 21-01-2022Last modified 15-11-2024
Vulnerability summary
CVE-2022-0318 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in apple macos. EPSS estimates a 2.03% chance of exploitation in the next 30 days, higher than 80.7% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
2.03%
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 11 · Related 8Timeline
- 21-01-2022PublishedVulnerability first disclosed.
- 15-11-2024Last modifiedVulnerability information updated.
Description
Heap-based Buffer Overflow in vim/vim prior to 8.2.
CVSS metrics
7 scores · 4 sources · 3 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Medium 6.6Preferred score · CVE.org (CNA)
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- NVDNIST6.6MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.03%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.03% on 18-09-2026
18-09-202618-10-2026
EPSS score2.03%
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:8.2.4659-1
- debian_linuxEOL10.0
Apple1 product
- macos< 13.0
Ubuntu1 product
- vimAll versions (No fix recorded) | < 2:7.4.1689-3ubuntu1.5+esm4 | < 2:8.0.1453-1ubuntu1.13 | < 2:8.1.2269-1ubuntu5.14 | < 2:8.2.3995-1ubuntu2.7
4 vendors · 6 products
References
16 links- support.apple.com/kb/HT213444Third Party Advisory
- support.apple.com/kb/HT213488Third Party Advisory