CVE-2022-1420: Use of Out-of-range Pointer Offset in vim/vim
Vulnerability summary
CVE-2022-1420 is a medium (CVSS 6.8) Use of Out-of-range Pointer Offset vulnerability in apple macos. EPSS estimates a 1.45% chance of exploitation in the next 30 days, higher than 74.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 5Timeline
- 21-04-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.
CVSS metrics
7 scores · 4 sources · 3 versions- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- NVDNIST6.8MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS trend
Probability
1.45%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.45% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-823Use of Out-of-range Pointer OffsetThe product performs pointer arithmetic on a valid pointer, but it uses an offset that can point outside of the intended range of valid memory locations for the resulting pointer.
- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apple1 product
- macos< 13.0
Debian1 product
- vim< 2:8.2.4793-1
Fedoraproject1 product
- fedoraEOL34 | 35
Ubuntu1 product
- vim< 2:8.1.2269-1ubuntu5.8 | < 2:8.2.3995-1ubuntu2.1
5 vendors · 6 products
References
16 links- huntr.dev/bounties/a4323ef8-90ea-4e1c-90e9-c778f0ecf326REPORTExploitIssue TrackingPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- seclists.org/fulldisclosure/2022/Oct/28Mailing List
- security.gentoo.org/glsa/202305-16Vendor Advisory