CVE-2022-2182: Heap-based Buffer Overflow in vim/vim

Published Jun 23, 2022
·
Updated

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

Affected Software

4 affected componentsFixes available
vim Vim<8.2.5150
Fedoraproject Fedora=35
Fedoraproject Fedora=36
debian/vim<=2:8.2.2434-3+deb11u1, <=2:8.2.2434-3+deb11u3
2:9.0.1378-2+deb12u22:9.1.1230-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-1

Event History

Jun 23, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:07 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:37 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2022-2182?

CVE-2022-2182 is a vulnerability in the GitHub repository vim/vim prior to version 8.2 that allows for a heap-based buffer overflow.

2

How is CVE-2022-2182 classified?

CVE-2022-2182 is classified as a Heap-based Buffer Overflow vulnerability.

3

Which software is affected by CVE-2022-2182?

The software affected by CVE-2022-2182 includes vim/vim versions prior to 8.2.3995-1ubuntu2.10 (Ubuntu), 8.2.5150 (Ubuntu), and 2:8.1.0875-5+deb10u2, 2:8.1.0875-5+deb10u5, 2:8.2.2434-3+deb11u1 (Debian).

4

How can I fix CVE-2022-2182?

To fix CVE-2022-2182, it is recommended to update vim/vim to versions 8.2.3995-1ubuntu2.10 (Ubuntu), 8.2.5150 (Ubuntu), or 2:8.2.2434-3+deb11u1 (Debian), depending on your operating system.

5

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

You can find more information about CVE-2022-2182 at the following references: [huntr.dev](https://huntr.dev/bounties/238d8650-3beb-4831-a8f7-6f0b597a6fb8), [GitHub commit](https://github.com/vim/vim/commit/f7c7c3fad6d2135d558f3b36d0d1a943118aeb5e), [Fedora Project mailing list](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/).

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