Skip to content
OpenAdvisories
Unscored CVE-2018-20751 EUVD-2018-13294GHSA-crhg-hr6g-j2xf

An issue was discovered in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage->GetObject()->GetDictionary().AddKey(PdfName("Media…

Published Feb 4, 2019 · Updated Sep 17, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libpodofo 0.9.6+dfsg-4 —
Debian 13 libpodofo 0.9.6+dfsg-4 —
Debian 12 libpodofo 0.9.6+dfsg-4 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libpodofo No fix yet —
Ubuntu Pro 16.04 LTS libpodofo No fix yet —
Ubuntu Pro 14.04 LTS libpodofo No fix yet —
ReleasePackageFixed inAdvisory
SLES 12 SP4 podofo 0.9.2-3.9.2 SUSE-SU-2019:1849-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed podofo 0.9.7-2.2 openSUSE-SU-2024:11178-1
openSUSE Tumbleweed podofo-0_10 0.10.5-1.1 openSUSE-SU-2025:15521-1
ReleasePackageFixed inAdvisory
Alpine v3.24 podofo 0.9.7-r0 —
Alpine v3.23 podofo 0.9.7-r0 —
Alpine v3.22 podofo 0.9.7-r0 —
Alpine v3.21 podofo 0.9.7-r0 —
Alpine v3.20 podofo 0.9.7-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 podofo 0.9.7-r0 —
Alpine v3.18 podofo 0.9.7-r0 —
Alpine v3.17 podofo 0.9.7-r0 —
Alpine v3.16 podofo 0.9.7-r0 —
Alpine v3.15 podofo 0.9.7-r0 —
Alpine v3.14 podofo 0.9.7-r0 —
Alpine v3.13 podofo 0.9.7-r0 —

Advisories 3

References