CVE-2020-27802 Denial of service in upx

Medium 5.5 Published Updated

A crafted Mach-O file causes a floating point exception in UPX, leading to a denial of service when processed.

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-27802?

CVE-2020-27802 is a medium-severity denial of service vulnerability in upx, published on 25 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

An floating point exception was discovered in the elf_lookup function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.

Weakness: CWE-369, CWE-119

Which versions are affected by CVE-2020-27802?

It affects 1 product.

Products include Upx Upx.

How do I fix CVE-2020-27802?

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-27802 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-27802, GHSA-jx23-r23x-qc23, UBUNTU-CVE-2020-27802.

Is CVE-2020-27802 in your software?

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

Check your SBOMs for free