{"id":"CVE-2020-27796","aliases":["ALPINE-CVE-2020-27796","BELL-CVE-2020-27796","DEBIAN-CVE-2020-27796","EUVD-2020-20298","GHSA-242r-jf27-g6pp","UBUNTU-CVE-2020-27796"],"status":"published","title":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in...","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00339,"percentile":0.27479,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-125","CWE-787"],"published":"2022-08-25T19:37:04Z","modified":"2026-11-03T06:32:37Z","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"]}],"products":[{"vendor":"upx","product":"upx"}],"references":[{"url":"https://github.com/upx/upx/issues/392","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27796"},{"url":"https://github.com/advisories/GHSA-242r-jf27-g6pp"},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-27796","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2020-27796","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-27796","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-27796","tags":["report"]},{"url":"https://github.com/upx/upx/commit/7d093174597483053e95f07d9f4614024c09890e","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27796","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-27796","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T19:37:04Z","modified":"2024-08-04T16:25:42.45Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:35:53.552996Z"}],"euvd":[{"id":"EUVD-2020-20298","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T19:37:04Z","modified":"2024-08-04T16:25:42Z","updated_at":"2026-11-03T03:07:11.950168Z"}],"ghsa":[{"id":"GHSA-242r-jf27-g6pp","title":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in...","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-26T00:03:30Z","modified":"2025-04-11T12:32:45Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119","CWE-125","CWE-787"],"updated_at":"2026-11-02T15:01:16.487496Z"}],"nvd":[{"id":"CVE-2020-27796","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T20:15:08.487Z","modified":"2026-06-17T03:09:39.483Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-119","CWE-125"],"updated_at":"2026-11-02T14:06:46.951463Z"}],"osv":[{"id":"ALPINE-CVE-2020-27796","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T20:15:08.487Z","modified":"2026-11-03T06:32:37.257665721Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:20.312441Z"},{"id":"BELL-CVE-2020-27796","title":"CVE-2020-27796 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:16:20.834779Z","modified":"2026-01-26T09:46:04.488327Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:15.925958Z"},{"id":"CVE-2020-27796","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T20:15:08.487Z","modified":"2026-10-20T10:54:19.235426818Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.248747Z"},{"id":"DEBIAN-CVE-2020-27796","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T20:15:08.487Z","modified":"2026-10-26T12:02:12.934960963Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:33.729655Z"},{"id":"UBUNTU-CVE-2020-27796","description":"A heap-based buffer over-read was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.","status":"published","published":"2022-08-25T20:15:00Z","modified":"2026-10-17T12:55:45.385879422Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:24.541803Z"}]}}
