HIGH
CVE-2021-4019
CWE-122Published: December 1, 2021· Updated: Jun 17, 2026
7.8
CVSS v3.1
Official Description
vim is vulnerable to Heap-based Buffer Overflow
Technical Analysis
CVE-2021-4019 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (17)
→
http://www.openwall.com/lists/oss-security/2022/01/15/1Mailing List · Third Party Advisory
→
https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142Patch · Third Party Advisory
→
https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92Exploit · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2022/03/msg00018.htmlMailing List · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlMailing List · Third Party Advisory
→
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/Broken Link · Third Party Advisory
→
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNXY7T5OORA7UJIMGSJBGHFMU6UZWS6P/Broken Link · Third Party Advisory
→
https://security.gentoo.org/glsa/202208-32Third Party Advisory
→
http://www.openwall.com/lists/oss-security/2022/01/15/1Mailing List · Third Party Advisory
→
https://github.com/vim/vim/commit/bd228fd097b41a798f90944b5d1245eddd484142Patch · Third Party Advisory
→
https://huntr.dev/bounties/d8798584-a6c9-4619-b18f-001b9a6fca92Exploit · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2022/03/msg00018.htmlMailing List · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlMailing List · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2025/03/msg00023.htmlThird Party Advisory
→
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRPAI5JVZLI7WHWSBR6NWAPBQAYUQREW/Broken Link · Third Party Advisory
Quick Facts
CVE IDCVE-2021-4019
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-122
CISA KEVNo
Affected4 vendor(s)
PublishedDec 1, 2021
Related CVEs (CWE-122)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-4019 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.