NULL Pointer Dereference Affecting libpodofo package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.34% (72nd 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-LIBPODOFO-2787070
  • published20 Feb 2025
  • disclosed9 Jan 2018

Introduced: 9 Jan 2018

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

How to fix?

There is no fixed version for Ubuntu:22.04 libpodofo.

NVD Description

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

PoDoFo 0.9.5 does not properly validate memcpy arguments in the PdfMemoryOutputStream::Write function (base/PdfOutputStream.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.