CVE-2020-27788

Source
https://cve.org/CVERecord?id=CVE-2020-27788
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-27788.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-27788
Downstream
Published
2022-08-18T20:15:08Z
Modified
2026-08-18T14:38:10Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/upx/upx

Affected ranges

Type
GIT
Repo
https://github.com/upx/upx
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:upx:upx:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "3.96"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v1.*
v1.10
v1.11
v1.90
v1.91
v1.92
v1.93
v1.94
v1.95
v1.96
v2.*
v2.00
v2.01
v2.90
v2.91
v2.92
v2.93
v3.*
v3.00
v3.01
v3.02
v3.03
v3.04
v3.06
v3.07
v3.09
v3.91
v3.92
v3.93
v3.95

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-27788.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "151185809428527722139195468283067464036",
            "length":  10638
        },
        "id":  "CVE-2020-27788-0b76053e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/upx/upx/commit/1bb93d4fce9f1d764ba57bf5ac154af515b3fc83",
        "target":  {
            "file":  "src/p_lx_elf.cpp",
            "function":  "PackLinuxElf32::canPack"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "167713624437359543478701988430981518868",
            "length":  9181
        },
        "id":  "CVE-2020-27788-28e2fc61",
        "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":  {
            "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"
        }
    }
]
vanir_signatures_modified
"2026-08-18T14:38:10Z"