First published: Mon Feb 04 2019(Updated: )
An issue was discovered 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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PoDoFo | =0.9.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-20751 is classified as a moderate severity vulnerability due to its potential to cause a null pointer dereference.
To mitigate CVE-2018-20751, upgrade to a later version of PoDoFo beyond 0.9.6 that includes a patch for this vulnerability.
Exploiting CVE-2018-20751 may lead to application crashes due to the null pointer dereference.
CVE-2018-20751 affects PoDoFo version 0.9.6.
CVE-2018-20751 specifically impacts the crop_page function in PoDoFo.