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: 8.6 [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]
CVE-ID: CVE-2018-5308
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

podofo
podofo (Alpine package)
mingw-podofo
Fedora
Opensuse

How to mitigate CVE-2018-5308

Install update from vendor's website.

podofo (Alpine package) - update to 0.9.7-r0
mingw-podofo - addressed in versions 0.9.5-6.fc27, 0.9.5-6.fc28

External References

Related Security Bulletins