CVE-2020-27787 Denial of service in upx

Medium 5.5 Published Updated

An attacker can cause a denial of service in UPX by providing a crafted input file that triggers a segmentation fault.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-27787?

CVE-2020-27787 is a medium-severity denial of service vulnerability in upx, published on 18 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2020-27787?

It affects 1 product.

Products include Upx Upx.

How do I fix CVE-2020-27787?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-27787 being exploited?

There is no known exploitation of CVE-2020-27787 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2020-27787, GHSA-4rhf-85wr-9pxc, UBUNTU-CVE-2020-27787.

Is CVE-2020-27787 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free