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

Published Aug 23, 2022
·
Updated

Last updated 24 July 2024

Other sources

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

Affected Software

15 affected componentsFixes available
vim Vim<9.0.0246
Fedoraproject Fedora=35
Debian Debian Linux=10.0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
alpine/vim<9.0.0270-r0
9.0.0270-r0
debian/vim<2:9.0.0626-1
2:9.0.0626-1
debian/vim<2:9.0.0626-1
2:9.0.0626-1
debian/vim<2:9.0.0626-1
2:9.0.0626-1
debian/vim
2:8.1.0875-5+deb10u32:9.0.0626-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 9.0.0270-r0
  2. Upgrade

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

    Fixed in 2:9.0.0626-1
  3. Upgrade

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

    Fixed in 2:8.1.0875-5+deb10u3Fixed in 2:9.0.0626-1
  4. Upgrade

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

    Fixed in 9.0.0246

Event History

Aug 23, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionAffected Software
May 3, 2023
Data Sourced
12:16 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:47 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:47 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:01 AM
RemedyAffected Software
Oct 9, 2026
Updated
via NVD·02:17 PM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:02 AM
Severity

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-2946?

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

2

How severe is CVE-2022-2946?

CVE-2022-2946 has a CVSS severity score of 7.8, indicating a high severity.

3

Which software versions are affected by CVE-2022-2946?

The vulnerability affects vim/vim versions prior to 9.0.0246 on Ubuntu and Debian.

4

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

To fix CVE-2022-2946 on Ubuntu, update the vim package to version 9.0.0246 or later.

5

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

Additional information about CVE-2022-2946 can be found on the CVE website, Ubuntu Security Notices, and NVD.

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