CVE-2021-3404
publishedytnef: heap-based buffer overflow in SwapWord function in lib/ytnef.c via crafted file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ytnefAll versions | Affected | Not stated | redhat |
| Alpine Linux | edge | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.13 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.14 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.15 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.16 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.17 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.18 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.20 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.21 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.22 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.23 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
| Alpine Linux | v3.24 | ytnef | Fixed | 1.9.3-r1 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ytnef | All versions (affected) | redhat · cna |
Weaknesses
1- CWE-119
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 48ecdfb97542df781d86a87df0bba27d99d8b519c106264982db1447173ce7d4
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record