CVE-2022-2304: Stack-based Buffer Overflow in vim/vim

Published Jul 5, 2022
·
Updated

Last updated 24 July 2024

Other sources

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.

Affected Software

16 affected componentsFixes available
vim Vim<9.0.0035
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=10.0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
alpine/vim<9.0.0050-r0
9.0.0050-r0
debian/vim<2:9.0.0135-1
2:9.0.0135-1
debian/vim<2:9.0.0135-1
2:9.0.0135-1
debian/vim<2:9.0.0135-1
2:9.0.0135-1
debian/vim
2:8.1.0875-5+deb10u32:8.2.2434-3+deb11u22:9.0.0135-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.0050-r0
  2. Upgrade

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

    Fixed in 2:9.0.0135-1
  3. Upgrade

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

    Fixed in 2:8.1.0875-5+deb10u3Fixed in 2:8.2.2434-3+deb11u2Fixed in 2:9.0.0135-1
  4. Upgrade

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

    Fixed in 9.0

Event History

Jul 5, 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·01:15 PM
DescriptionAffected Software
May 3, 2023
Data Sourced
12:15 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:46 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:46 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:00 AM
RemedyAffected Software
Oct 8, 2026
Updated
via NVD·10:17 PM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-2304.

2

What is the title of the vulnerability?

The title of the vulnerability is Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.

3

What software is affected by this vulnerability?

The software affected by this vulnerability is vim/vim.

4

What is the severity level of this vulnerability?

The severity level of this vulnerability is not provided in the information given.

5

How can I fix this vulnerability?

To fix this vulnerability, update your vim/vim software to version 9.0 or higher.

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