CVE-2020-27797 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 during processing.

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

CVE-2020-27797 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 elf_lookup 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-27797?

It affects 1 product.

Products include Upx Upx.

How do I fix CVE-2020-27797?

Upgrade to a fixed version.

Is CVE-2020-27797 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-27797, GHSA-x97v-6wf2-6ffp, UBUNTU-CVE-2020-27797.

Is CVE-2020-27797 in your software?

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

Check your SBOMs for free