CVE-2021-4019: Heap-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2021-4019 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 1.93% chance of exploitation in the next 30 days, higher than 80.6% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 8Timeline
- 01-12-2021PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS metrics
8 scores · 5 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
- NVDNIST7.1HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
EPSS trend
Probability
1.93%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.93% 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 causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- vim< 2:8.2.3995-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Alpine1 product
- vim< 8.2.3779-r0
Fedoraproject1 product
- fedoraEOL34 | 35
Mageia1 product
- vim< 8.2.3717-1.mga8
Neovim1 product
- neovim< 0.7.0
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm17 | < 2:7.4.1689-3ubuntu1.5+esm4 | < 2:8.0.1453-1ubuntu1.8 | < 2:8.1.2269-1ubuntu5.6
7 vendors · 9 products
References
20 links- lists.debian.org/debian-lts-announce/2025/03/msg00023.htmlThird Party Advisory