Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting upx package, versions [,4.2.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th 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 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-UPX-10078459
  • published8 May 2025
  • disclosed26 Aug 2022
  • creditgiantbranch of NSFOCUS Security Team

Introduced: 26 Aug 2022

CVE-2020-27798  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade upx to version 4.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer in the adjABS function in p_lx_elf.cpp via a crafted Mach-O file.

CVSS Base Scores

version 3.1