7.1
CWE
125
Advisory Published
Updated

CVE-2021-4166: Out-of-bounds Read in vim/vim

First published: Sat Dec 25 2021(Updated: )

Last updated 24 July 2024

Credit: CVE-2021-4136 CVE-2021-4166 CVE-2021-4173 CVE-2021-4187 CVE-2021-4192 CVE-2021-4193 CVE-2021-46059 CVE-2022-0128 CVE-2022-0156 CVE-2022-0158 CVE-2021-4136 CVE-2021-4166 CVE-2021-4173 CVE-2021-4187 CVE-2021-4192 CVE-2021-4193 CVE-2021-46059 CVE-2022-0128 security@huntr.dev security@huntr.dev

Affected SoftwareAffected VersionHow to fix
Vim Vim<8.2.3884
Redhat Enterprise Linux=8.0
openSUSE Factory
SUSE Linux Enterprise=12.0
SUSE Linux Enterprise=15.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Apple Mac OS X=10.15.7
Apple Mac OS X=10.15.7-security_update_2020-001
Apple Mac OS X=10.15.7-security_update_2021-001
Apple Mac OS X=10.15.7-security_update_2021-002
Apple Mac OS X=10.15.7-security_update_2021-003
Apple Mac OS X=10.15.7-security_update_2021-004
Apple Mac OS X=10.15.7-security_update_2021-005
Apple Mac OS X=10.15.7-security_update_2021-006
Apple Mac OS X=10.15.7-security_update_2021-007
Apple Mac OS X=10.15.7-security_update_2021-008
Apple Mac OS X=10.15.7-security_update_2022-001
Apple Mac OS X=10.15.7-security_update_2022-002
Apple Mac OS X=10.15.7-security_update_2022-003
Apple macOS<12.3
Apple macOS>=11.0<11.6.6
Apple macOS=10.15.7-security_update_2022-004
Apple macOS Monterey<12.3
12.3
Apple Catalina
Apple macOS Big Sur<11.6.6
11.6.6
debian/vim<=2:8.2.2434-3+deb11u1
2:9.0.1378-2
2:9.1.0777-1
2:9.1.0861-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Peer vulnerabilities

(Found alongside the following vulnerabilities)

Frequently Asked Questions

  • What is CVE-2021-4166?

    CVE-2021-4166 is a vulnerability that allows for out-of-bounds read in Vim.

  • How does CVE-2021-4166 impact Vim?

    CVE-2021-4166 allows an attacker to read data outside of the bounds of an array in Vim, potentially leading to information disclosure or a crash.

  • Is Apple Catalina affected by CVE-2021-4166?

    Yes, Apple Catalina is affected by CVE-2021-4166.

  • What is the recommended version of macOS Big Sur to fix CVE-2021-4166?

    The recommended version of macOS Big Sur to fix CVE-2021-4166 is 11.6.6.

  • How can I fix the CVE-2021-4166 vulnerability on Ubuntu?

    To fix the CVE-2021-4166 vulnerability on Ubuntu, update the vim package to version 2:8.1.2269-1ubuntu5.14 or later.

  • How can I fix the CVE-2021-4166 vulnerability on Debian?

    To fix the CVE-2021-4166 vulnerability on Debian, update the vim package to version 2:9.0.1378-2 or 2:9.0.1894-1, depending on the Debian version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203