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: 8.5 [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]
CVE-ID: CVE-2018-20247
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

Quick PDF Library

How to mitigate CVE-2018-20247

Update to version 16.12.

Quick PDF Library - update to 16.12

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins