HIGH
Heap-based Buffer Overflow in vim/vim
Published Jan 18, 2022
7.8
HIGHCVSS 3.1
EPSS 1.68%
Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<8.2
- Version
Configuration 2
OR
- 9.0
- 10.0
No data.
Red Hat Enterprise Linux 8
vim-2:8.0.1763-16.el8_5.12
Fixed · RHSA-2022:0894
Red Hat Enterprise Linux 8
vim-2:8.0.1763-16.el8_5.12
Fixed · RHSA-2022:0894
Red Hat Enterprise Linux 6
vim
Not affected
Red Hat Enterprise Linux 7
vim
Not affected
Red Hat Enterprise Linux 9
vim
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | vim-2:8.0.1763-16.el8_5.12 | Fixed | RHSA-2022:0894 |
| Red Hat Enterprise Linux 8 | vim-2:8.0.1763-16.el8_5.12 | Fixed | RHSA-2022:0894 |
| Red Hat Enterprise Linux 6 | vim | Not affected | n/a |
| Red Hat Enterprise Linux 7 | vim | Not affected | n/a |
| Red Hat Enterprise Linux 9 | vim | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 6 and 7 are not affected because the vulnerable code is not present in our code base.
Red Hat mitigation
Untrusted vim scripts with -s [scriptin] are not recommended to run.
Weaknesses (2)
References (16)
- http://seclists.org/fulldisclosure/2022/Oct/28 mailing-listMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/41 mailing-listMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/43 mailing-listMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2022-0261 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2044607 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15446 Advisory
- https://github.com/vim/vim/commit/9f8c304c8a390ade133bac29963dc8e56ab14cbc PatchThird Party Advisory
- https://huntr.dev/bounties/fa795954-8775-4f23-98c6-d4d4d3fe8a82 ExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html mailing-listMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html mailing-listMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-0261
- https://security.gentoo.org/glsa/202208-32 vendor-advisoryThird Party Advisory
- https://support.apple.com/kb/HT213444 Third Party Advisory
- https://support.apple.com/kb/HT213488 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-0261
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner @huntrdev
Published Jan 18, 2022
Updated Nov 3, 2025
Reserved Jan 17, 2022
Link CVE-2022-0261
CISA Vulnrichment
Updated n/a
ENISA EUVD
EUVD-2022-15446 Assigner @huntrdev
Published Jan 18, 2022
Updated Nov 3, 2025
Exploited since n/a
Link EUVD-2022-15446