CVE-2023-23456 Upx: heap-buffer-overflow in packtmt::pack()

Medium 5.3 Published Updated

An attacker can cause a denial of service via a crafted file due to a heap-based buffer overflow in the UPX executable packer.

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-2023-23456?

CVE-2023-23456 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 12 Jan 2023. 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 heap-based buffer overflow issue was discovered in UPX in PackTmt::pack() in p_tmt.cpp file. The flow allows an attacker to cause a denial of service (abort) via a crafted file.

Weakness: CWE-787

Which versions are affected by CVE-2023-23456?

It affects 2 products.

Products include Fedoraproject Fedora, Upx Upx.

How do I fix CVE-2023-23456?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-23456 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-23456, DLA-3991-1, GHSA-3j7g-922g-j6r3, UBUNTU-CVE-2023-23456.

Is CVE-2023-23456 in your software?

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

Check your SBOMs for free