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.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-20751
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 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.


How to mitigate CVE-2018-20751

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

Sources