NULL Pointer Dereference Affecting libpodofo package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.64% (76th 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-DEBIAN9-LIBPODOFO-318937
  • 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?

There is no fixed version for Debian:9 libpodofo.

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:9 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.