CVE-2021-20285
publishedupx: Illegal memory access in canPack function in p_lx_elf.cpp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | upxUPX 3.96 | Affected | Not stated | redhat |
| Alpine Linux | edge | upx | Fixed | 3.96-r1 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.4 | upxaarch64 | Advisory build | 4.0.2-bp154.4.6.1 | OPENSUSE-SU-2023:0088-1 |
| Alpine Linux | v3.13 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.14 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.15 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.16 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.17 | upx | Fixed | 3.96-r1 | Package fix record |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.18 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.19 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.20 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.21 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.22 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.23 | upx | Fixed | 3.96-r1 | Package fix record |
| Alpine Linux | v3.24 | upx | Fixed | 3.96-r1 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.4 | upxppc64le | Advisory build | 4.0.2-bp154.4.6.1 | OPENSUSE-SU-2023:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | upxs390x | Advisory build | 4.0.2-bp154.4.6.1 | OPENSUSE-SU-2023:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | upxx86_64 | Advisory build | 4.0.2-bp154.4.6.1 | OPENSUSE-SU-2023:0088-1 |
Description
A flaw was found in upx canPack in p_lx_elf.cpp in UPX 3.96. This flaw allows attackers to cause a denial of service (SEGV or buffer overflow and application crash) or possibly have unspecified other impacts via a crafted ELF. The highest threat from this vulnerability is to system availability.
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 | upx | UPX 3.96 (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
- 0d32b6b36082b0dddb4a795da021f3009c00b144a1004cf2531589490d8cc47d
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record