NULL pointer dereference in podofo - CVE-2018-5308

 

NULL pointer dereference in podofo - CVE-2018-5308

Published: January 9, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU37695
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-5308
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: podofo.sourceforge.net
Affected software:
podofo

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

PoDoFo 0.9.5 does not properly validate memcpy arguments in the PdfMemoryOutputStream::Write function (base/PdfOutputStream.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.


How to mitigate CVE-2018-5308

Install update from vendor's website.

Sources