CVE-2021-3403 Use after free in ytnef

High 7.8 Published Updated

A double free vulnerability in the ytnef library allows remote attackers to cause denial of service and 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-3403?

CVE-2021-3403 is a high-severity use after free 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 TNEFSubjectHandler function in lib/ytnef.c allows remote attackers to cause a denial-of-service (and potentially code execution) due to a double free which can be triggered via a crafted file.

Weakness: CWE-415, CWE-416

Which versions are affected by CVE-2021-3403?

It affects 3 products.

Products include Fedoraproject Fedora, Redhat Enterprise Linux, Ytnef Project Ytnef.

How do I fix CVE-2021-3403?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-3403 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-3403, GHSA-4pxg-g29h-qqfc, UBUNTU-CVE-2021-3403.

Is CVE-2021-3403 in your software?

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

Check your SBOMs for free