{"id":"CVE-2021-30501","aliases":["ALPINE-CVE-2021-30501","BELL-CVE-2021-30501","DEBIAN-CVE-2021-30501","EUVD-2021-17422","GHSA-88gh-wqj4-3fxr","UBUNTU-CVE-2021-30501","openSUSE-SU-2023:0088-1"],"status":"published","title":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow...","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01041,"percentile":0.64453,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-617"],"published":"2021-05-26T23:54:30Z","modified":"2026-11-03T06:32:28Z","fixes":[{"ecosystem":"Alpine:v3.17","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"upx","fixed_in":["4.0.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"upx-ucl","fixed_in":["4.2.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"upx-ucl","fixed_in":["4.2.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.17","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.91-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.94-2","3.94-3","3.94-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.95-2","3.95-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.96-2","3.96-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.96-3","4.2.2-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.4-1","4.2.4-1.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.4-1.1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"upx-ucl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.4-1.1","4.2.4-1.1build1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-bp154.4.6.1"}]}],"bundled":12},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"upx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-bp154.4.6.1"}]}],"bundled":12}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"upx","product":"upx"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1948696","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/upx/upx/issues/486","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/upx/upx/pull/487","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/upx/upx/commit/28e761cd42211dfe0124b7a29b2f74730f453e46","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30501"},{"url":"https://github.com/advisories/GHSA-88gh-wqj4-3fxr"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-30501","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2021-30501","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-30501","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-30501","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-30501","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/XLSYENIWX7YMHJJKVRBH2CPDXM5X3IW6/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1183510","tags":["report"]},{"url":"https://bugzilla.suse.com/1184701","tags":["report"]},{"url":"https://bugzilla.suse.com/1184702","tags":["report"]},{"url":"https://bugzilla.suse.com/1207121","tags":["report"]},{"url":"https://bugzilla.suse.com/1207122","tags":["report"]},{"url":"https://bugzilla.suse.com/1209765","tags":["report"]},{"url":"https://bugzilla.suse.com/1209766","tags":["report"]},{"url":"https://bugzilla.suse.com/1209767","tags":["report"]},{"url":"https://bugzilla.suse.com/1209768","tags":["report"]},{"url":"https://bugzilla.suse.com/1209769","tags":["report"]},{"url":"https://bugzilla.suse.com/1209770","tags":["report"]},{"url":"https://bugzilla.suse.com/1209771","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-20285","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-30500","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-30501","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43311","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43312","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43313","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43314","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43315","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43316","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43317","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-23456","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-23457","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-30501","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-26T23:54:30Z","modified":"2024-08-03T22:32:41.143Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:33:02.20241Z"}],"euvd":[{"id":"EUVD-2021-17422","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-26T23:54:30Z","modified":"2024-08-03T22:32:41Z","updated_at":"2026-11-03T03:24:41.906207Z"}],"ghsa":[{"id":"GHSA-88gh-wqj4-3fxr","title":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow...","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2022-05-24T19:03:32Z","modified":"2023-01-30T05:02:06Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20","CWE-617"],"updated_at":"2026-11-02T14:46:33.666288Z"}],"nvd":[{"id":"CVE-2021-30501","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-27T00:15:08.527Z","modified":"2026-06-17T03:50:21.117Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20","CWE-617"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"ALPINE-CVE-2021-30501","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-27T00:15:08.527Z","modified":"2026-11-03T06:32:28.43497028Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:17:41.158523Z"},{"id":"BELL-CVE-2021-30501","title":"CVE-2021-30501 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:15:10.565745Z","modified":"2026-01-26T09:47:09.027488Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:15.925958Z"},{"id":"CVE-2021-30501","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-27T00:15:08.527Z","modified":"2026-10-20T10:53:44.096674807Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"DEBIAN-CVE-2021-30501","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-27T00:15:08.527Z","modified":"2026-10-23T18:03:26.051087712Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"UBUNTU-CVE-2021-30501","description":"An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.","status":"published","published":"2021-05-27T00:15:00Z","modified":"2026-10-17T12:55:45.576507565Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:27.332852Z"},{"id":"openSUSE-SU-2023:0088-1","title":"Security update for upx","description":"\nupx was updated to fix the following issues:\n\nUpdate to release 4.0.2\n\n* Fix unpack of ELF x86-64 that failed with 'CantUnpackException: corrupt b_info'\n* Resolve SEGV on PackLinuxElf64::invert_pt_dynamic\n\n- CVE-2021-30500: Fixed Null pointer dereference in PackLinuxElf:canUnpack() in p_lx_elf.cpp\n- CVE-2021-30501: Fixed Assertion abort in function MemBuffer:alloc()\n- CVE-2021-43311: Fixed Heap-based buffer overflow in PackLinuxElf32:elf_lookup() at p_lx_elf.cpp\n- CVE-2021-43312: Fixed Heap-based buffer overflow in PackLinuxElf64:invert_pt_dynamic at p_lx_elf.cpp:5239\n- CVE-2021-43313: Fixed Heap-based buffer overflow in PackLinuxElf32:invert_pt_dynamic at p_lx_elf.cpp:1688\n- CVE-2021-43314: Fixed Heap-based buffer overflows in PackLinuxElf32:elf_lookup() at p_lx_elf.cp\n- CVE-2021-43315: Fixed Heap-based buffer overflows in PackLinuxElf32:elf_lookup() at p_lx_elf.cp\n- CVE-2021-43316: Fixed Heap-based buffer overflow in func get_le64()\n- CVE-2021-43317: Fixed Heap-based buffer overflows in PackLinuxElf64:elf_lookup() at p_lx_elf.cp\n- CVE-2023-23456: Fixed heap-buffer-overflow in PackTmt:pack()\n- CVE-2023-23457: Fixed SEGV on PackLinuxElf64:invert_pt_dynamic() in p_lx_elf.cpp\n","status":"published","published":"2023-04-11T07:07:29Z","modified":"2025-05-07T18:12:22.423988Z","updated_at":"2026-11-02T16:58:32.653274Z"}]}}
