CVE-2021-3404 Memory corruption in ytnef
A heap buffer overflow in the ytnef library allows remote attackers to cause denial of service or potentially execute code via a crafted file.
- 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-3404?
CVE-2021-3404 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 4 Mar 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
In ytnef 1.9.3, the SwapWord function in lib/ytnef.c allows remote attackers to cause a denial-of-service (and potentially code execution) due to a heap buffer overflow which can be triggered via a crafted file.
Which versions are affected by CVE-2021-3404?
It affects 3 products.
Products include Fedoraproject Fedora, Redhat Enterprise Linux, Ytnef Project Ytnef.
How do I fix CVE-2021-3404?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-3404 being exploited?
There is no known exploitation of CVE-2021-3404 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-3404, GHSA-5f69-j422-38p4, UBUNTU-CVE-2021-3404.