CVE-2020-24119
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not...
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
CVE-2020-24119- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
CVE-2020-24119- Updated
- 2026-11-02
EUVDEUVD-2020-16855 No score
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
EUVD-2020-16855- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-68mf-gv4w-rh82
7.1
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not...
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
GHSA-68mf-gv4w-rh82- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-24119
7.1
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
ALPINE-CVE-2020-24119- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2020-24119
7.1
CVE-2020-24119 does not affect BellSoft software
- Record
BELL-CVE-2020-24119- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSV
7.1
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
CVE-2020-24119- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-24119
7.1
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
DEBIAN-CVE-2020-24119- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-24119
7.1
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect.
- Record
UBUNTU-CVE-2020-24119- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2021-0241 No score
Updated upx packages fix security vulnerabilities
The updated package fixes security vulnerabilities:
A heap buffer overflow read was discovered in upx 4.0.0, because the check in p_lx_elf.cpp is not perfect. (CVE-2020-24119)
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. (CVE-2021-20285)
- Record
MGASA-2021-0241- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0813-1 No score
Security update for upx
This update for upx fixes the following issues:
- CVE-2020-24119: Fixed a heap buffer overflow in p_lx_elf.cpp (boo#1186238)
- Record
openSUSE-SU-2021:0813-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0826-1 No score
Security update for upx
This update for upx fixes the following issues:
- CVE-2020-24119: Fixed a heap buffer overflow in p_lx_elf.cpp (boo#1186238)
This update was imported from the openSUSE:Leap:15.2:Update update project.
- Record
openSUSE-SU-2021:0826-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11486-1 No score
upx-3.96-3.2 on GA media
These are all security issues fixed in the upx-3.96-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11486-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
upxAlpine:v3.17 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.18 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.19 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.20 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.21 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.22 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.23 |
before 4.0.0-r0 | 4.0.0-r0 |
upxAlpine:v3.24 |
before 4.0.0-r0 | 4.0.0-r0 |
upx-uclDebian:13 |
before 4.2.2-1 | 4.2.2-1 |
upx-uclDebian:14 |
before 4.2.2-1 | 4.2.2-1 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
upxMageia:7 From an advisory covering 2 CVEs |
before 3.96-1.1.mga7 | 3.96-1.1.mga7 |
upxMageia:8 From an advisory covering 2 CVEs |
before 3.96-2.1.mga8 | 3.96-2.1.mga8 |
upx-uclUbuntu:16.04:LTS |
All versions, plus listed versions 3.91-1 |
None known |
upx-uclUbuntu:18.04:LTS |
All versions, plus listed versions 3.94-23.94-33.94-4 |
None known |
upx-uclUbuntu:20.04:LTS |
All versions, plus listed versions 3.95-23.95-2build1 |
None known |
upx-uclUbuntu:22.04:LTS |
All versions, plus listed versions 3.96-23.96-3 |
None known |
upx-uclUbuntu:24.04:LTS |
All versions, plus listed versions 3.96-34.2.2-3 |
None known |
upx-uclUbuntu:25.10 |
All versions, plus listed versions 4.2.4-14.2.4-1.1 |
None known |
upx-uclUbuntu:26.10 |
All versions, plus listed versions 4.2.4-1.1build1 |
None known |
upx-uclUbuntu:26.04:LTS |
All versions, plus listed versions 4.2.4-1.14.2.4-1.1build1 |
None known |
upxSUSE:Package Hub 15 SP3 |
before 3.96-bp153.2.3.1 | 3.96-bp153.2.3.1 |
upxopenSUSE:Leap 15.2 |
before 3.96-bp153.2.3.1 | 3.96-bp153.2.3.1 |
upxopenSUSE:Leap 15.3 |
before 3.96-bp153.2.3.1 | 3.96-bp153.2.3.1 |
upxSUSE:Package Hub 15 SP2 |
before 3.96-bp152.2.3.1 | 3.96-bp152.2.3.1 |
upxopenSUSE:Tumbleweed From an advisory covering 7 CVEs |
before 3.96-3.2 | 3.96-3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-24119 is a high vulnerability (CVSS 7.1) in Upx, published May 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.08%, the 65th percentile. Fixed in upx 4.0.0-r0.
References
github.com/upx/upx/issues/388
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VSQRO7YC72PSYDQG4PQLQYXZTZE3B4YV
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JE54WKVU7MATB4WZD3MJFBAHFRJ3NTQX
cwe.mitre.org/data/definitions/126.html
nvd.nist.gov/vuln/detail/CVE-2020-24119
lists.fedoraproject.org/archives/list/[email protected]/message/JE54WKVU7MATB4WZD3MJFBAHFRJ3NTQX
Show 22 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/VSQRO7YC72PSYDQG4PQLQYXZTZE3B4YV
github.com/advisories/GHSA-68mf-gv4w-rh82
security.alpinelinux.org/vuln/CVE-2020-24119
docs.bell-sw.com/security/cves/CVE-2020-24119
security-tracker.debian.org/tracker/CVE-2020-24119
advisories.mageia.org/MGASA-2021-0241.html
bugs.mageia.org/show_bug.cgi?id=29016
lists.fedoraproject.org/archives/list/[email protected]/thread/G3BQABK4YLXENDJBLDMHAIPRTC3ZMLYK
lists.fedoraproject.org/archives/list/[email protected]/thread/VSQRO7YC72PSYDQG4PQLQYXZTZE3B4YV
lists.opensuse.org/archives/list/[email protected]/thread/V2GCFGL5HHPU3GIC7XYIPIMYFFLH2M4U
ubuntu.com/security/CVE-2020-24119
github.com/upx/upx/commit/87b73e5cfdc12da94c251b2cd83bb01c7d9f616c
cve.org/CVERecord?id=CVE-2020-24119
bugzilla.suse.com/1186238
suse.com/security/cve/CVE-2020-24119
lists.opensuse.org/archives/list/[email protected]/thread/UWDYSXHR43QUBRLPE6NYJWEL7D2AOPPX
suse.com/security/cve/CVE-2017-16869
suse.com/security/cve/CVE-2018-11243
suse.com/security/cve/CVE-2019-1010048
suse.com/security/cve/CVE-2019-14296
suse.com/security/cve/CVE-2019-20021
suse.com/security/cve/CVE-2019-20053