CVE-2021-3875: Heap-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2021-3875 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in fedoraproject fedora. EPSS estimates a 1.55% chance of exploitation in the next 30 days, higher than 75.9% 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 3 · Related 2Timeline
- 15-10-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS metrics
8 scores · 5 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- 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 · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.55%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.55% 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, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- vim< 8.2.3500-r0
Debian1 product
- vim< 2:8.2.3565-1
Fedoraproject1 product
- fedoraEOL33 | 35
Ubuntu1 product
- vim< 2:8.2.3565-1ubuntu2
5 vendors · 6 products
References
12 links- huntr.dev/bounties/5cdbc168-6ba1-4bc2-ba6c-28be12166a53X Refsource CONFIRMREPORTExploitThird Party Advisory
- github.com/vim/vim/commit/35a319b77f897744eec1155b736e9372c9c5575fX Refsource MISCREPORTPatchThird Party Advisory