CVE-2021-3903: Heap-based Buffer Overflow in vim/vim

Published Oct 27, 2021
·
Updated

Last updated 24 July 2024

Other sources

vim is vulnerable to Heap-based Buffer Overflow

Launchpad

Affected Software

7 affected componentsFixes available
debian/vim<=2:8.2.2434-3+deb11u1
2:9.0.1378-22:9.1.0709-2
redhat/vim<8.2.3564
8.2.3564
vim Vim<8.2.3564
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0

Event History

Oct 27, 2021
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:00 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:24 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2021-3903.

2

What software is affected by CVE-2021-3903?

The affected software is vim.

3

What is the severity rating of CVE-2021-3903?

The severity rating of CVE-2021-3903 is high (7.8).

4

How can I fix CVE-2021-3903?

To fix CVE-2021-3903, ensure that you are using the recommended versions of vim: '2:8.0.1453-1ubuntu1.7', '2:8.1.2269-1ubuntu5.4', '2:8.2.2434-1ubuntu1.2', '2:8.2.2434-3ubuntu3.1', '2:7.4.052-1ubuntu3.1+', '8.2.3564', '2:7.4.1689-3ubuntu1.5+', '2:8.2.3565-1ubuntu2' for Ubuntu and '2:9.0.1378-2', '2:9.0.1894-1', '2:9.0.2018-1' for Debian. Install the latest available patches and updates.

5

Where can I find more information about CVE-2021-3903?

You can find more information about CVE-2021-3903 on the MITRE CVE database (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3903), the Huntr.dev website (https://huntr.dev/bounties/35738a4f-55ce-446c-b836-2fb0b39625f8), and the GitHub commit (https://github.com/vim/vim/commit/777e7c21b7627be80961848ac560cb0a9978ff43).

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