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

Published Jan 30, 2022
·
Updated

Last updated 24 July 2024

Other sources

Use After Free in Conda vim prior to 8.2.

https://github.com/vim/vim/commit/37f47958b8a2a44abc60614271d9537e7f14e51a https://huntr.dev/bounties/563d1e8f-5c3d-4669-941c-3216f4a87c38

— Red Hat

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

— Launchpad

Affected Software

23 affected componentsFixes available
vim Vim<8.2.4253
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
redhat/vim<8.2.4269
8.2.4269
alpine/vim<8.2.4619-r0
8.2.4619-r0
alpine/vim<8.2.4619-r0
8.2.4619-r0
alpine/vim<8.2.4619-r0
8.2.4619-r0
alpine/vim<8.2.4619-r0
8.2.4619-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
alpine/vim<8.2.4350-r0
8.2.4350-r0
debian/vim<2:8.2.4659-1
2:8.2.4659-1
debian/vim<2:8.2.4659-1
2:8.2.4659-1
debian/vim<2:8.2.4659-1
2:8.2.4659-1
debian/vim
2:8.0.0197-4+deb9u62:8.1.0875-5+deb10u32:8.2.4659-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 8.2.4269
  2. Upgrade

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

    Fixed in 8.2.4619-r0
  3. Upgrade

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

    Fixed in 8.2.4350-r0
  4. Upgrade

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

    Fixed in 2:8.2.4659-1
  5. Upgrade

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

    Fixed in 2:8.0.0197-4+deb9u6Fixed in 2:8.1.0875-5+deb10u3Fixed in 2:8.2.4659-1
  6. Upgrade

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

    Fixed in 8.2

Event History

Jan 30, 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·03:15 PM
DescriptionAffected Software
Jan 31, 2022
Data Sourced
via Red Hat·12:35 PM
DescriptionSeverityAffected Software
Dec 13, 2022
Data Sourced
04:44 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:41 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:41 AM
Affected Software
Nov 21, 2024
Updated
via NVD·06:38 AM
RemedyAffected Software
Event
via NVD·06:38 AM
Jun 17, 2026
Updated
via NVD·04:20 AM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:00 AM
Severity

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-0413?

CVE-2022-0413 is a vulnerability known as Use After Free in GitHub repository vim/vim prior to 8.2.

2

What software is affected by CVE-2022-0413?

The following versions of the vim package are affected: 2:8.0.1453-1ubuntu1.12, 2:8.1.2269-1ubuntu5.13, 2:8.2.3995-1ubuntu2.5, 2:7.4.052-1ubuntu3.1+, 8.2.4253, 2:7.4.1689-3ubuntu1.5+, 2:8.1.0875-5+deb10u5, 2:9.0.1378-2, 2:9.0.1894-1.

3

How severe is CVE-2022-0413?

The severity of CVE-2022-0413 is not specified.

4

What is the CWE ID of CVE-2022-0413?

The CWE ID of CVE-2022-0413 is CWE-416.

5

How do I fix CVE-2022-0413?

Update the vim package to the latest non-vulnerable version provided by your operating system's package repository.

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