CVE-2021-3903: Heap-based Buffer Overflow in vim/vim
Vulnerability summary
CVE-2021-3903 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 52.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 5 · Related 3Timeline
- 27-10-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
vim is vulnerable to Heap-based Buffer Overflow
CVSS metrics
9 scores · 6 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
- NVDNIST7.3HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.65% 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.
Redhat12 products
- vim< 2:8.2.2637-21.el9
- vim-common< 2:8.2.2637-21.el9
- vim-common-debuginfo< 2:8.2.2637-21.el9
- vim-debuginfo< 2:8.2.2637-21.el9
- vim-debugsource< 2:8.2.2637-21.el9
Debian2 products
- vim< 2:8.2.3565-1
- debian_linuxEOL9.0
Alpine1 product
- vim< 8.2.3567-r0
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm4 | < 2:7.4.1689-3ubuntu1.5+esm3 | < 2:8.0.1453-1ubuntu1.7 | < 2:8.1.2269-1ubuntu5.4 | < 2:8.2.3565-1ubuntu2
6 vendors · 19 products
References
19 links- huntr.dev/bounties/35738a4f-55ce-446c-b836-2fb0b39625f8X Refsource CONFIRMREPORTExploitIssue TrackingPatchThird Party Advisory
- github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43X Refsource MISCREPORTPatchThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/06/msg00014.htmlMailing ListX Refsource MLISTThird Party Advisory