Vulnerability · Published Mar 4, 2021 · Assigned by redhat
CVE-2021-3403
High 7.8
In plain English
A high-severity use-after-free 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.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.8%top 22.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | ytnef | 1.9.3-r1 | ALPINE-CVE-2021-3403 |
| Alpine:v3.21 | ytnef | 1.9.3-r1 | ALPINE-CVE-2021-3403 |
| Alpine:v3.22 | ytnef | 1.9.3-r1 | ALPINE-CVE-2021-3403 |
| Alpine:v3.23 | ytnef | 1.9.3-r1 | ALPINE-CVE-2021-3403 |
| Alpine:v3.24 | ytnef | 1.9.3-r1 | ALPINE-CVE-2021-3403 |
| Debian:12 | libytnef | 1.9.3-3 | DEBIAN-CVE-2021-3403 |
| Debian:13 | libytnef | 1.9.3-3 | DEBIAN-CVE-2021-3403 |
| Debian:14 | libytnef | 1.9.3-3 | DEBIAN-CVE-2021-3403 |
| Ubuntu:22.04:LTS | libytnef | no fix listed | UBUNTU-CVE-2021-3403 |
| Ubuntu:24.04:LTS | libytnef | no fix listed | UBUNTU-CVE-2021-3403 |
| Ubuntu:25.10 | libytnef | no fix listed | UBUNTU-CVE-2021-3403 |
| Ubuntu:26.04:LTS | libytnef | no fix listed | UBUNTU-CVE-2021-3403 |
| Ubuntu:26.10 | libytnef | no fix listed | UBUNTU-CVE-2021-3403 |
Affected products (as reported)
Weakness: CWE-416
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1926967 x_refsource_MISC
- https://github.com/Yeraze/ytnef/issues/85 x_refsource_MISC