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

Published Dec 2, 2022
·
Updated

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

Affected Software

2 affected componentsFixes available
vim Vim<9.0.0765
debian/vim<=2:8.2.2434-3+deb11u1, <=2:8.2.2434-3+deb11u3
2:9.0.1378-2+deb12u22:9.1.1230-1

Event History

Dec 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:09 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:40 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·04:24 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2022-3520?

CVE-2022-3520 is a heap-based buffer overflow vulnerability in the GitHub repository vim/vim prior to version 9.0.0765.

2

What software is affected by CVE-2022-3520?

The software affected by CVE-2022-3520 includes the vim package with versions prior to 9.0.0765 for Ubuntu and versions prior to 9.0.1378-2 and 9.0.1894-1 for Debian.

3

How severe is CVE-2022-3520?

CVE-2022-3520 has a severity score of 5.3 (Medium) according to the National Vulnerability Database.

4

How can I fix CVE-2022-3520?

To fix CVE-2022-3520, update the vim package to version 9.0.0765 for Ubuntu or version 9.0.1378-2 or 9.0.1894-1 for Debian, depending on the distribution you are using.

5

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

You can find more information about CVE-2022-3520 at the following references: [CVE Mitre](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3520), [National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2022-3520), [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-3520)

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