CVE-2020-27798 Null dereference in upx

Medium 5.5 Published Updated

A crafted Mach-O file causes a null pointer dereference 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-27798?

CVE-2020-27798 is a medium-severity 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 invalid memory address reference was discovered in the adjABS function in p_lx_elf.cpp in UPX 4.0.0 via a crafted Mach-O file.

Weakness: CWE-763, CWE-119

Which versions are affected by CVE-2020-27798?

It affects 1 product.

Products include Upx Upx.

How do I fix CVE-2020-27798?

Upgrade to a fixed version.

Is CVE-2020-27798 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-27798, GHSA-gqpc-4qr8-j9g3, UBUNTU-CVE-2020-27798.

Is CVE-2020-27798 in your software?

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

Check your SBOMs for free