Medium
Security advisory
A Segmentaation fault was found in UPX in invert_pt_dynamic() function in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-27787
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:36 UTC · Revision 1
Source evidence
A Segmentaation fault was found in UPX in invert_pt_dynamic() function in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.
osv:CVE-2020-27787
Complete source record
{
"id": "88e74204aebb8afa8a83d085b14d2697c07bfcf8c7e8db1610ddad794ab587a9",
"url": "https://osv.dev/vulnerability/CVE-2020-27787",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-27787",
"summary": "A Segmentaation fault was found in UPX in invert_pt_dynamic() function in p_lx_elf.cpp. An attacker with a crafted input file allows invalid memory address access that could lead to a denial of service.",
"evidence": "osv:CVE-2020-27787",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-27787",
"aliases": [
"CVE-2020-27787"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/upx/upx",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d7ba31cab8ce8d95d2c10e88d2ec787ac52005ef"
},
{
"fixed": "e2f60adc95334f47e286838dac33160819c5d74d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:upx:upx:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.96"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e2f60adc95334f47e286838dac33160819c5d74d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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/cve-osv-conversion/osv-output/CVE-2020-27787.json",
"vanir_signatures": [
{
"id": "CVE-2020-27787-4f82974f",
"digest": {
"length": 4697,
"function_hash": "144188400907574595322118236151414717433"
},
"source": "https://github.com/upx/upx/commit/e2f60adc95334f47e286838dac33160819c5d74d",
"target": {
"file": "src/p_lx_elf.cpp",
"function": "PackLinuxElf32::invert_pt_dynamic"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-27787-af096cd6",
"digest": {
"length": 4912,
"function_hash": "340111673276646739986786030959432866294"
},
"source": "https://github.com/upx/upx/commit/e2f60adc95334f47e286838dac33160819c5d74d",
"target": {
"file": "src/p_lx_elf.cpp",
"function": "PackLinuxElf64::invert_pt_dynamic"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2020-27787-bedbb14e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"257870881940862614609256973709132984056",
"272158922209213423681413894420799670836",
"176268528693580875637945846304155638766",
"4221361576905600357362673166681574292",
"154229085320354130783943885107519624097",
"11798162522091701296182368638276175336",
"282848170757409618206783482560684873570",
"31926769796970019876012897729278008859",
"244734299183139268848497553753801842845",
"258066308543225000455264772561468355391",
"257870881940862614609256973709132984056",
"272158922209213423681413894420799670836",
"176268528693580875637945846304155638766",
"4221361576905600357362673166681574292",
"154229085320354130783943885107519624097",
"266942197280038991510482381445817127018",
"207549958718149381218130491740951084509",
"95523670887827168245398882281645789644",
"85300983397851604295314245906508970075",
"299798673324378474265789794499724747146"
]
},
"source": "https://github.com/upx/upx/commit/e2f60adc95334f47e286838dac33160819c5d74d",
"target": {
"file": "src/p_lx_elf.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:59:24Z"
}
}
],
"modified": "2026-10-20T13:59:24.625754556Z",
"provider": "osv",
"references": [
"https://github.com/upx/upx/commit/e2f60adc95334f47e286838dac33160819c5d74d",
"https://github.com/upx/upx/issues/333"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-27787",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388482,
"published_at": "2022-08-18T19:15:14.21+00:00"
}