Out-of-bounds Read in vim/vim
Published Dec 25, 2021
7.1
HIGHCVSS 3.1
EPSS 1.58%
Description
vim is vulnerable to Out-of-bounds Read
Affected products
-
- Version unspecifiedStatusaffectedConstraints<8.2
- Version
Configuration 2
- 8.0
Configuration 3
- n/a
- 12.0
- 15.0
Configuration 4
- 9.0
- 10.0
- 11.0
Configuration 5
- 34
- 35
Configuration 6
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- 10.15.7
- < 12.3
- ≥ 11.0 · < 11.6.6
- 10.15.7
No data.
Red Hat Enterprise Linux 6
vim
Out of support scope
Red Hat Enterprise Linux 7
vim
Out of support scope
Red Hat Enterprise Linux 8
vim
Fix deferred
Red Hat Enterprise Linux 9
vim
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | vim | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | vim | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | vim | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | vim | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
AV:N/AC:M/Au:N/C:P/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.58% (0.01578) | 74.59th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.59% (0.01586) | 72.33th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.26% (0.00256) | 46.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.10% (0.00096) | 41.94th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.09% (0.00092) | 38.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00064) | 25.52th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v5 (v2026.06.15) |
| Dec 26, 2021 | 0.62% (0.00624) | 46.13th | v1 |
References (16)
- http://seclists.org/fulldisclosure/2022/Jul/14 mailing-listx_refsource_FULLDISCMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2022/Mar/29 mailing-listx_refsource_FULLDISCMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2022/May/35 mailing-listx_refsource_FULLDISCMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/15/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-4166 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2035928 Issue Tracking
- https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682 x_refsource_MISCPatchThird Party Advisory
- https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035 x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2EY2VFBU3YGGWI5BW4XKT3F37MYGEQUD/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2021-4166
- https://security.gentoo.org/glsa/202208-32 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://support.apple.com/kb/HT213183 x_refsource_CONFIRMRelease NotesThird Party Advisory
- https://support.apple.com/kb/HT213256 x_refsource_CONFIRMThird Party Advisory
- https://support.apple.com/kb/HT213343 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2021-4166
Change history (0)
No recorded changes yet.