Integer overflow in UPX - CVE-2019-14295

 

Integer overflow in UPX - CVE-2019-14295

Published: December 28, 2019 / Updated: November 17, 2022


Vulnerability identifier: #VU23827
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-14295
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: UPX
Affected software:
UPX

Detailed vulnerability description

The vulnerability allows an attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to integer overflow in getElfSections() function in p_vmlinx.cpp via a skewed offset larger than the size of the PE section in a UPX packed executable. An attacker can create a specially crafted file, trigger integer overflow and trigger an allocation of excessive memory.


How to mitigate CVE-2019-14295

Install update from vendor's website.

Sources