01 Record
CVE-2021-4187
Use After Free in vim/vim
MediumPUBLISHEDCNA: @huntrdev
CNA base score6.8 CVSS v3.xCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
02 Description
Use After Free in vim/vim
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.75% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 77.8% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-12-29 17:10Z4 YR AGO
- Last updated
- 2025-11-03 20:34Z11 MO AGO
- Reserved
- 2021-12-28
- Assigning CNA
- @huntrdev
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.8)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 48b0da652829a0494d63bb1e14924b0a2e05abcc773f4869661053568071303f
05 Affected products
VendorProductVersionsPlatforms
06 References
- huntr.devhttps://huntr.dev/bounties/a8bee03a-6e2e-43bf-bee3-4968c5386a2e
- github.comhttps://github.com/vim/vim/commit/4bf1006cae7e87259ccd5219128c3dba75774441
- lists.fedoraproject.orgFEDORA-2022-a3d70b50f0https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2VFBU3YGGWI5BW4XKT3F37MYGEQUD/
- www.openwall.com[oss-security] 20220114 Re: 3 new CVE's in vimhttp://www.openwall.com/lists/oss-security/2022/01/15/1
- lists.fedoraproject.orgFEDORA-2022-48b86d586fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
- support.apple.comhttps://support.apple.com/kb/HT213183
- seclists.org20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3http://seclists.org/fulldisclosure/2022/Mar/29
- support.apple.comhttps://support.apple.com/kb/HT213256
- seclists.org20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6http://seclists.org/fulldisclosure/2022/May/35
- support.apple.comhttps://support.apple.com/kb/HT213343
- seclists.org20220721 APPLE-SA-2022-07-20-4 Security Update 2022-005 Catalinahttp://seclists.org/fulldisclosure/2022/Jul/14
- security.gentoo.orgGLSA-202208-32https://security.gentoo.org/glsa/202208-32
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
07 Fixed in
Debian 12
- vim Fixed in 2:8.2.3995-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- vim Fixed in 2:8.2.3995-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- vim Fixed in 2:8.2.3995-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.