Out-of-bounds Write Affecting upx package, versions <5.0.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.39% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-UPX-9486671
  • published20 Mar 2025
  • disclosed12 Jan 2023

Introduced: 12 Jan 2023

CVE-2023-23456  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Chainguard upx to version 5.0.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream upx package and not the upx package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1