CVE-2021-3770 Heap-based Buffer Overflow in vim/vim

High 8.6 Published Updated

A heap-based buffer overflow in Vim allows attackers to execute arbitrary code or cause a denial of service via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3770?

CVE-2021-3770 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 6 Sep 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

vim is vulnerable to Heap-based Buffer Overflow

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2021-3770?

It affects 3 products.

Products include Fedoraproject Fedora, Netapp Ontap Select Deploy Administration Utility, Vim Vim.

How do I fix CVE-2021-3770?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-3770 being exploited?

There is no known exploitation of CVE-2021-3770 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2021-3770, DEBIAN-CVE-2021-3770, GHSA-qjvf-2fhp-q8rx, MGASA-2021-0432, OESA-2021-1344, UBUNTU-CVE-2021-3770.

Is CVE-2021-3770 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free