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: 6.9 [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]
CVE-ID: CVE-2019-14295
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

UPX
Fedora
upx

How to mitigate CVE-2019-14295

Install update from vendor's website.

upx - addressed in versions 3.95-4.el7, 3.95-4.fc29, 3.95-4.fc30

External References

Related Security Bulletins