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

Published Sep 3, 2022
·
Updated

Last updated 24 July 2024

Other sources

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

Affected Software

17 affected componentsFixes available
vim Vim<9.0.0360
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=10.0
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:9.0.1378-2+deb12u22:9.1.1230-22:9.1.1230-2+deb13u12:9.2.0858-1
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-r0
alpine/vim<9.0.0369-r0
9.0.0369-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.0369-r0
  3. Upgrade

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

    Fixed in 2:9.0.0626-1
  4. Upgrade

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

    Fixed in 9.0.0360

Event History

Sep 3, 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
Data Sourced
via OSV·04:15 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-3099?

CVE-2022-3099 is a vulnerability in the GitHub repository vim/vim prior to version 9.0.0360, which allows for a use after free exploit.

2

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

The following versions are affected: 2:7.4.052-1ubuntu3.1+, 2:8.0.1453-1ubuntu1.13+, 2:8.1.2269-1ubuntu5.17, 2:8.2.3995-1ubuntu2.11, 2:7.4.1689-3ubuntu1.5+, 2:8.1.0875-5+deb10u5, 2:9.0.1378-2, 2:9.0.1894-1.

3

What is the severity of CVE-2022-3099?

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

4

How can I fix CVE-2022-3099?

To fix CVE-2022-3099, update your vim/vim software to version 9.0.0360 or later.

5

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

You can find more information about CVE-2022-3099 at the following references: [Reference 1](https://huntr.dev/bounties/403210c7-6cc7-4874-8934-b57f88bd4f5e), [Reference 2](https://github.com/vim/vim/commit/35d21c6830fc2d68aca838424a0e786821c5891c), [Reference 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DVWBI4BVTBUMNW4NMB3WZZDQJBKIGXI3/)

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