{"id":"CVE-2020-27788","details":"An out-of-bounds read access vulnerability was discovered in UPX in PackLinuxElf64::canPack() function of p_lx_elf.cpp file. An attacker with a crafted input file could trigger this issue that could cause a crash leading to a denial of service.","modified":"2026-08-18T14:38:10.376884Z","published":"2022-08-18T20:15:08.947Z","references":[{"type":"FIX","url":"https://github.com/upx/upx/commit/1bb93d4fce9f1d764ba57bf5ac154af515b3fc83"},{"type":"FIX","url":"https://github.com/upx/upx/issues/332"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/upx/upx","events":[{"introduced":"0"},{"fixed":"d7ba31cab8ce8d95d2c10e88d2ec787ac52005ef"},{"fixed":"1bb93d4fce9f1d764ba57bf5ac154af515b3fc83"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.96"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:upx:upx:*:*:*:*:*:*:*:*"}}],"versions":["v3.95","v3.93","v3.92","v3.91","v3.09","v3.07","v3.06","v3.04","v3.03","v3.02","v3.01","v3.00","v2.93","v2.92","v2.91","v2.90","v2.01","v2.00","v1.96","v1.95","v1.94","v1.93","v1.92","v1.91","v1.90","v1.11","v1.10"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-27788.json","vanir_signatures_modified":"2026-08-18T14:38:10Z","vanir_signatures":[{"source":"https://github.com/upx/upx/commit/1bb93d4fce9f1d764ba57bf5ac154af515b3fc83","target":{"file":"src/p_lx_elf.cpp","function":"PackLinuxElf32::canPack"},"deprecated":false,"digest":{"function_hash":"151185809428527722139195468283067464036","length":10638},"id":"CVE-2020-27788-0b76053e","signature_type":"Function","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/upx/upx/commit/1bb93d4fce9f1d764ba57bf5ac154af515b3fc83","target":{"file":"src/p_lx_elf.cpp","function":"PackLinuxElf64::canPack"},"deprecated":false,"digest":{"function_hash":"167713624437359543478701988430981518868","length":9181},"id":"CVE-2020-27788-28e2fc61"},{"digest":{"line_hashes":["82204206008690361854362666745483772762","146337883991646778533533671510182923041","113781826776723822040192522040459030607","119719493737525636567212474936345438799","212306472503360752631373549545311537706","215296202042475403213892820095272079781","195177008081007374364685174425345771296","225733359486523670131980833535423497494","21655068984884843147063041982638797859","48473761488894269526620175745591509550","303907887036440362275675322814852535086","119719493737525636567212474936345438799","212306472503360752631373549545311537706","215296202042475403213892820095272079781","195177008081007374364685174425345771296","225733359486523670131980833535423497494"],"threshold":0.9},"id":"CVE-2020-27788-cc616e44","signature_type":"Line","signature_version":"v1","source":"https://github.com/upx/upx/commit/1bb93d4fce9f1d764ba57bf5ac154af515b3fc83","target":{"file":"src/p_lx_elf.cpp"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}