Buffer overflow in UPX - CVE-2019-14296

 

Buffer overflow in UPX - CVE-2019-14296

Published: December 28, 2019 / Updated: January 29, 2020


Vulnerability identifier: #VU23828
CSH Severity: High
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-14296
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing UPX packed files within the canUnpack() function in p_vmlinx.cpp. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

UPX
upx (Alpine package)
upx
Fedora
SUSE Linux

How to mitigate CVE-2019-14296

Install update from vendor's website.

UPX - update to 3.96
upx - addressed in versions 3.95-4.el7, 3.95-4.fc29, 3.95-4.fc30

External References

Related Security Bulletins