NULL pointer dereference in podofo - CVE-2018-20751

 

NULL pointer dereference in podofo - CVE-2018-20751

Published: February 4, 2019 / Updated: August 8, 2020


Vulnerability identifier: #VU36176
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-20751
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage->GetObject()->GetDictionary().AddKey(PdfName("MediaBox"),var) can be problematic due to the function GetObject() being called for the pPage NULL pointer object. The value of pPage at this point is 0x0, which causes a NULL pointer dereference. A remote attacker can perform a denial of service (DoS) attack.


Affected software

podofo
Arch Linux
Fedora
podofo (Alpine package)
podofo
mingw-podofo

How to mitigate CVE-2018-20751

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

podofo (Alpine package) - update to 0.9.7-r0
podofo - update to 0.9.6-5.fc29
mingw-podofo - update to 0.9.6-7.fc29

External References

Related Security Bulletins