CVE-2018-20751

Name
CVE-2018-20751
Description
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Exploit https://sourceforge.net/p/podofo/tickets/33/
Exploit https://research.loginsoft.com/bugs/null-pointer-dereference-vulnerability-in-crop_page-podofo-0-9-6/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:podofo_project:podofo:0.9.6:*:*:*:*:*:*:* podofo == None == 0.9.6

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
podofo 3.13-community 0.9.7-r0 Francesco Colista <fcolista@alpinelinux.org> fixed
podofo 3.14-community 0.9.7-r0 Francesco Colista <fcolista@alpinelinux.org> fixed