CVE-2022-0158: apple macos Heap-based Buffer Overflow
CVSS: 6.8v3.0MediumModified
AliasesALPINE-CVE-2022-0158UBUNTU-CVE-2022-0158DEBIAN-CVE-2022-0158
Published 10-01-2022Last modified 02-08-2024
Vulnerability summary
CVE-2022-0158 is a medium (CVSS 6.8) Heap-based Buffer Overflow vulnerability in apple macos. EPSS estimates a 1.70% chance of exploitation in the next 30 days, higher than 76.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
6.8/10
010
Medium · v3.0 (CVE.org)EPSS score
1.70%
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 2 · Related 1Timeline
- 10-01-2022PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS metrics
8 scores · 5 sources · 3 versionsLow 3.3Preferred score · OSV · Alpine (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- NVDNIST3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Medium 6.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- NVDNIST6.8MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:N/A:NSourcesSingle source
EPSS trend
Probability
1.70%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.70% on 20-09-2026
20-09-202620-10-2026
EPSS score1.70%
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
Alpine1 product
- vim< 8.2.4173-r0
Apple1 product
- macos< 12.3 | ≥ 11.0, < 11.6.8
Debian1 product
- vim< 2:8.2.4659-1
Fedoraproject1 product
- fedoraEOL34 | 35
Ubuntu1 product
- vim< 2:8.2.3995-1ubuntu2.9
6 vendors · 7 products
References
16 links- huntr.dev/bounties/ac5d7005-07c6-4a0a-b251-ba9cdbf6738bX Refsource CONFIRMExploitPatchThird Party Advisory
- github.com/vim/vim/commit/5f25c3855071bd7e26255c68bf458b1b5cf92f39X Refsource MISCPatchThird Party Advisory