Heap-based Buffer Overflow Affecting upx/upx package, versions [,5.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.22% (65th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-UPXUPX-6516906
  • published3 Apr 2024
  • disclosed2 Apr 2024
  • creditAlkaidLx

Introduced: 2 Apr 2024

CVE-2024-3209  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade upx/upx to version 5.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to the get_ne64 function of the bele.h file. An attacker can execute arbitrary code or cause a denial of service (application crash) by submitting specially crafted input to exploit the heap-based buffer overflow.

References

CVSS Base Scores

version 3.1