NULL Pointer Dereference Affecting libpodofo package, versions <0.9.6+dfsg-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.64% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBPODOFO-318939
  • published4 Feb 2019
  • disclosed4 Feb 2019

Introduced: 4 Feb 2019

CVE-2018-20751  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libpodofo to version 0.9.6+dfsg-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpodofo package and not the libpodofo package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.