7.8

CVE-2021-3872: Heap-based Buffer Overflow in vim/vim

Modified
AliasesUBUNTU-CVE-2021-3872DEBIAN-CVE-2021-3872
Published 19-10-2021Last modified 03-11-2025

Vulnerability summary

CVE-2021-3872 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 1.49% chance of exploitation in the next 30 days, higher than 75% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.0 (CVE.org)
EPSS score
1.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 11 · Related 6

Timeline

  1. 19-10-2021
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

vim is vulnerable to Heap-based Buffer Overflow

CVSS metrics

7 scores · 4 sources · 3 versions

EPSS trend

Probability

1.49%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.49% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Vim2 products
Fedoraproject1 product
Ubuntu1 product
  • vim< 2:8.1.2269-1ubuntu5.4 | < 2:8.2.3565-1ubuntu2

4 vendors · 6 products

References

12 links
Show all 12 references