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

Published Aug 15, 2022
·
Updated

Last updated 24 July 2024

Other sources

Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0212.

Affected Software

14 affected componentsFixes available
vim Vim<9.0.0212
Fedoraproject Fedora=35
debian/vim<2:9.0.0229-1
2:9.0.0229-1
debian/vim<2:9.0.0229-1
2:9.0.0229-1
debian/vim<2:9.0.0229-1
2:9.0.0229-1
debian/vim
2:9.0.1378-2+deb12u22:9.1.1230-22:9.1.1230-2+deb13u12:9.2.0858-1
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0
alpine/vim<9.0.0224-r0
9.0.0224-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.1.1230-2+deb13u1Fixed in 2:9.2.0858-1
  2. Upgrade

    Upgrade alpine/vim to a version that resolves this vulnerability.

    Fixed in 9.0.0224-r0
  3. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.0229-1
  4. Upgrade

    Upgrade vim/vim to a version that resolves this vulnerability.

    Fixed in 9.0.0212

Event History

Aug 15, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-2816?

The severity of CVE-2022-2816 is high.

2

How does CVE-2022-2816 impact GitHub repository vim/vim?

CVE-2022-2816 causes an out-of-bounds read vulnerability in GitHub repository vim/vim prior to version 9.0.0212.

3

What software versions are affected by CVE-2022-2816?

CVE-2022-2816 affects versions 2:8.2.3995-1ubuntu2.11 and earlier, as well as version 9.0.0212 and earlier.

4

How can I fix the CVE-2022-2816 vulnerability?

To fix the CVE-2022-2816 vulnerability, upgrade to version 9.0.0212 or later of vim/vim.

5

Where can I find more information about CVE-2022-2816?

You can find more information about CVE-2022-2816 on the [CVE website](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2816) and the [GitHub commit](https://github.com/vim/vim/commit/dbdd16b62560413abcc3c8e893cc3010ccf31666) for the fix.

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