CVE-2021-4166
Out-of-bounds Read in vim/vim
02 Description
Out-of-bounds Read in vim/vim
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.69% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 76.7% of scored records. A rank, not a probability.
- NVD base score
- 7.1 (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:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-08.
- 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-25 18:15Z4 YR AGO
- Last updated
- 2026-10-08 20:53Z20 DAYS AGO
- Reserved
- 2021-12-24
- Assigning CNA
- @huntrdev
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.1)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.2
- Document digest
- 9164a20bdfac666bfb076e3166ee54806b8ac3350e71a57a970bff7f6ecb0596
05 Affected products
06 References
- huntr.devhttps://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035
- github.comhttps://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682
- 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
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.
Ubuntu 20.04 LTS
- vim Fixed in 2:8.1.2269-1ubuntu5.14
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- vim No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- vim No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- vim No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. 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.