CVE-2018-20751: Null Pointer Dereference
An issue was discovered in croppage 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2018-20751?
CVE-2018-20751 is classified as a moderate severity vulnerability due to its potential to cause a null pointer dereference.
How do I fix CVE-2018-20751?
To mitigate CVE-2018-20751, upgrade to a later version of PoDoFo beyond 0.9.6 that includes a patch for this vulnerability.
What are the consequences of exploiting CVE-2018-20751?
Exploiting CVE-2018-20751 may lead to application crashes due to the null pointer dereference.
Which versions of PoDoFo are affected by CVE-2018-20751?
CVE-2018-20751 affects PoDoFo version 0.9.6.
What components of PoDoFo does CVE-2018-20751 impact?
CVE-2018-20751 specifically impacts the crop_page function in PoDoFo.