CVE-2022-2210: Out-of-bounds Write in vim/vim

Published Jun 27, 2022
·
Updated

Last updated 24 July 2024

Other sources

Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.

Affected Software

4 affected componentsFixes available
vim Vim<8.2.5164
Fedoraproject Fedora=35
Fedoraproject Fedora=36
debian/vim<=2:8.2.2434-3+deb11u1, <=2:8.2.2434-3+deb11u3
2:9.0.1378-2+deb12u22:9.1.1230-1

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-1
  2. Upgrade

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

    Fixed in 8.2

Event History

Jun 27, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:07 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:40 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2022-2210?

CVE-2022-2210 is an out-of-bounds write vulnerability in the GitHub repository vim/vim prior to version 8.2.

2

How does CVE-2022-2210 impact the affected software?

CVE-2022-2210 allows an attacker to write data outside the bounds of allocated memory, which can lead to a crash or arbitrary code execution.

3

Which versions of Ubuntu are affected by CVE-2022-2210?

Ubuntu versions 14.04 (Trusty), 16.04 (Xenial), 18.04 (Bionic), and 20.04 (Focal) with the vim package are affected by CVE-2022-2210.

4

How can I fix CVE-2022-2210 on Ubuntu?

To fix CVE-2022-2210 on Ubuntu, update the vim package to versions 2:7.4.052-1ubuntu3.1+ (Trusty), 2:7.4.1689-3ubuntu1.5+ (Xenial), 2:8.0.1453-1ubuntu1.13+ (Bionic), or 2:8.1.2269-1ubuntu5.16 (Focal).

5

Are the latest upstream versions of vim vulnerable to CVE-2022-2210?

No, the latest upstream version of vim, 8.2.5164, is not vulnerable to CVE-2022-2210.

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