NULL pointer dereference in podofo - CVE-2018-20751
Published: February 4, 2019 / Updated: August 8, 2020
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
Arch Linux
Fedora
podofo (Alpine package)
podofo
mingw-podofo
How to mitigate CVE-2018-20751
podofo - update to 0.9.6-5.fc29
mingw-podofo - update to 0.9.6-7.fc29