7.8
CWE
125
Advisory Published
Updated

CVE-2022-2286: Out-of-bounds Read in vim/vim

First published: Sat Jul 02 2022(Updated: )

Last updated 24 July 2024

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

Affected SoftwareAffected VersionHow to fix
Vim Vim<9.0.0020
Fedoraproject Fedora=35
Fedoraproject Fedora=36
debian/vim<=2:8.2.2434-3+deb11u1
2:9.0.1378-2
2:9.1.0967-2
Fedora=35
Fedora=36

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.

Frequently Asked Questions

  • What is CVE-2022-2286?

    CVE-2022-2286 is an out-of-bounds read vulnerability in the GitHub repository vim/vim prior to version 9.0.

  • What software versions are affected by CVE-2022-2286?

    The affected software versions are vim 2:8.0.1453-1ubuntu1.13+ (bionic), vim 2:8.1.2269-1ubuntu5.16 (focal), vim 2:8.2.3995-1ubuntu2.10 (jammy), vim 2:7.4.052-1ubuntu3.1+ (trusty), vim 2:7.4.1689-3ubuntu1.5+ (xenial), and vim 2:9.0.1378-2, 2:9.0.1894-1 (debian).

  • How severe is CVE-2022-2286?

    CVE-2022-2286 is a critical vulnerability with an out-of-bounds read issue.

  • How can I fix CVE-2022-2286?

    To fix CVE-2022-2286, update your vim package to the recommended versions: vim 2:8.0.1453-1ubuntu1.13+ (bionic), vim 2:8.1.2269-1ubuntu5.16 (focal), vim 2:8.2.3995-1ubuntu2.10 (jammy), vim 2:7.4.052-1ubuntu3.1+ (trusty), vim 2:7.4.1689-3ubuntu1.5+ (xenial), or vim 2:9.0.1378-2, 2:9.0.1894-1 (debian) depending on your Linux distribution.

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

    You can find more information about CVE-2022-2286 on the following references: [Huntr](https://huntr.dev/bounties/fe7681fb-2318-436b-8e65-daf66cd597d8), [GitHub Commit](https://github.com/vim/vim/commit/f12129f1714f7d2301935bb21d896609bdac221c), [Fedora Project](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UXPO5EHDV6J4B27E65DOQGZFELUFPRSK/).

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203