CVE-2022-2874: NULL Pointer Dereference in vim/vim

Published Aug 18, 2022
·
Updated

Last updated 24 July 2024

Other sources

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.

Affected Software

5 affected componentsFixes available
vim Vim<9.0.0224
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

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 debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.0229-1
  3. Upgrade

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

    Fixed in 9.0.0224

Event History

Aug 18, 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

Frequently Asked Questions

1

What is CVE-2022-2874?

CVE-2022-2874 is a vulnerability that refers to a NULL Pointer Dereference in the GitHub repository vim/vim prior to version 9.0.0224.

2

What is the affected software for CVE-2022-2874?

The affected software for CVE-2022-2874 includes Ubuntu packages vim 2:8.2.3995-1ubuntu2.11, vim 9.0.0224, and Debian packages vim 2:9.0.1378-2, vim 2:9.0.1894-1.

3

How severe is CVE-2022-2874?

CVE-2022-2874 has a NULL Pointer Dereference vulnerability that can potentially lead to denial of service (application crash).

4

How can I fix CVE-2022-2874?

To fix CVE-2022-2874, update the affected Ubuntu package vim to version 2:8.2.3995-1ubuntu2.11 or install the fixed version 9.0.0224. For Debian, update vim to version 2:9.0.1378-2 or 2:9.0.1894-1.

5

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

More information about CVE-2022-2874 can be found at the following references: [Reference 1](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2874), [Reference 2](https://ubuntu.com/security/notices/USN-6302-1), [Reference 3](https://nvd.nist.gov/vuln/detail/CVE-2022-2874).

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