CVE-2022-0213: debian debian_linux Heap-based Buffer Overflow
CVSS: 6.8v3.0MediumModified
AliasesALPINE-CVE-2022-0213UBUNTU-CVE-2022-0213DEBIAN-CVE-2022-0213
Published 14-01-2022Last modified 08-10-2026
Vulnerability summary
CVE-2022-0213 is a medium (CVSS 6.8) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 68.7% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
6.8/10
010
Medium · v3.0 (CVE.org)EPSS score
1.24%
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 9 · Related 5Timeline
- 14-01-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS metrics
8 scores · 5 sources · 3 versionsMedium 6.6Preferred score · OSV · Alpine (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- NVDNIST6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
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 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.24%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
0.00 pp
From 1.24% on 18-09-2026
18-09-202618-10-2026
EPSS score1.24%
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_linuxEOL9.0 | 10.0
Alpine1 product
- vim< 8.2.4173-r0
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm9 | < 2:7.4.1689-3ubuntu1.5+esm5 | < 2:8.0.1453-1ubuntu1.13 | < 2:8.1.2269-1ubuntu5.14 | < 2:8.2.3995-1ubuntu2.7
4 vendors · 6 products