7.8
CWE
119 122 787
Advisory Published
Updated

CVE-2022-1942: Heap-based Buffer Overflow in vim/vim

First published: Tue May 31 2022(Updated: )

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

Credit: security@huntr.dev security@huntr.dev

Affected SoftwareAffected VersionHow to fix
Vim Vim<8.2.5043
Fedoraproject Fedora=35
Apple macOS<13.0
Debian Debian Linux=10.0
<13
13
debian/vim<=2:8.2.2434-3+deb11u1
2:9.0.1378-2
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-2022-1942?

    CVE-2022-1942 is a vulnerability in the GitHub repository vim/vim that allows for a heap-based buffer overflow prior to version 8.2.

  • What software is affected by CVE-2022-1942?

    The following software versions are affected by CVE-2022-1942: Apple macOS Ventura up to version 13, Ubuntu vim version 2:8.0.1453-1ubuntu1.12 and 2:8.1.2269-1ubuntu5.13, and Debian vim versions 2:8.1.0875-5+deb10u5, 2:9.0.1378-2, and 2:9.0.1894-1.

  • How severe is CVE-2022-1942?

    CVE-2022-1942 is classified as a heap-based buffer overflow vulnerability, which can potentially allow an attacker to execute arbitrary code or crash the application.

  • How can I fix CVE-2022-1942 on Ubuntu?

    To fix CVE-2022-1942 on Ubuntu, update your vim package to version 2:8.2.3995-1ubuntu2.5 or later.

  • Where can I find more information about CVE-2022-1942?

    More information about CVE-2022-1942 can be found at the following references: Apple support page (https://support.apple.com/en-us/HT213488), MITRE CVE page (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1942), and Huntr bounty page (https://huntr.dev/bounties/67ca4d3b-9175-43c1-925c-72a7091bc071).

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