Stack-based buffer overflow in Quick PDF Library - CVE-2018-20247

 

Stack-based buffer overflow in Quick PDF Library - CVE-2018-20247

Published: December 24, 2018 / Updated: May 18, 2020


Vulnerability identifier: #VU16696
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2018-20247
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: Foxit Software Inc.
Affected software:
Quick PDF Library

Detailed vulnerability description

The vulnerability allows a local attacker to gain elevated privileges the target system.

The weakness exists due to stack based buffer overflow when handling malicious input. A local attacker can load a malformed or malicious PDF containing a recursive page tree structure using the LoadFromFile, LoadFromString or LoadFromStream functions, trigger memory corruption and cause the service to crash or execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.


How to mitigate CVE-2018-20247

Update to version 16.12.

Sources