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 Software | Affected Version | How 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.0777-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Found alongside the following vulnerabilities)
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.
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.
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.
To fix CVE-2022-1942 on Ubuntu, update your vim package to version 2:8.2.3995-1ubuntu2.5 or later.
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).