CVE-2022-2817: Use After Free in vim/vim

Published Aug 15, 2022
·
Updated

Last updated 24 July 2024

Other sources

Use After Free in GitHub repository vim/vim prior to 9.0.0213.

Affected Software

14 affected componentsFixes available
vim Vim<9.0.0213
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.0213

Event History

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

Frequently Asked Questions

1

What is CVE-2022-2817?

CVE-2022-2817 is a vulnerability in the GitHub repository vim/vim, prior to version 9.0.0213, that allows for a use after free vulnerability.

2

How severe is CVE-2022-2817?

CVE-2022-2817 has a severity rating of high.

3

What software is affected by CVE-2022-2817?

The affected software includes vim packages on Ubuntu (versions up to 2:8.2.3995-1ubuntu2.11 and 9.0.0213), as well as vim packages on Debian (versions up to 2:8.2.2434-3+deb11u1).

4

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

To fix CVE-2022-2817 on Ubuntu, update the vim package to version 2:8.2.3995-1ubuntu2.11 (for versions up to 2:8.2.3995-1ubuntu2.11) or version 9.0.0213 (for version 9.0.0213).

5

How can I fix CVE-2022-2817 on Debian?

To fix CVE-2022-2817 on Debian, update the vim package to a version higher than 2:8.2.2434-3+deb11u1 (including 2:8.1.0875-5+deb10u2, 2:8.1.0875-5+deb10u6, 2:9.0.1378-2, and 2:9.0.1894-1).

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