Vulnerability · Published Mar 4, 2021 · Assigned by redhat

CVE-2021-3404

High 7.8

In plain English

A high-severity memory corruption in ytnef. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.9%top 19.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20ytnef1.9.3-r1ALPINE-CVE-2021-3404
Alpine:v3.21ytnef1.9.3-r1ALPINE-CVE-2021-3404
Alpine:v3.22ytnef1.9.3-r1ALPINE-CVE-2021-3404
Alpine:v3.23ytnef1.9.3-r1ALPINE-CVE-2021-3404
Alpine:v3.24ytnef1.9.3-r1ALPINE-CVE-2021-3404
Debian:12libytnef1.9.3-3DEBIAN-CVE-2021-3404
Debian:13libytnef1.9.3-3DEBIAN-CVE-2021-3404
Debian:14libytnef1.9.3-3DEBIAN-CVE-2021-3404
Ubuntu:22.04:LTSlibytnefno fix listedUBUNTU-CVE-2021-3404
Ubuntu:24.04:LTSlibytnefno fix listedUBUNTU-CVE-2021-3404
Ubuntu:25.10libytnefno fix listedUBUNTU-CVE-2021-3404
Ubuntu:26.04:LTSlibytnefno fix listedUBUNTU-CVE-2021-3404
Ubuntu:26.10libytnefno fix listedUBUNTU-CVE-2021-3404

Affected products (as reported)

VendorProductVersions
n/a ytnef All versions

Weakness: CWE-119

References