Uncontrolled Recursion Affecting libpodofo package, versions <0.9.7+dfsg-3ubuntu0.1~esm1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.73% (53rd 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-UBUNTU2204-LIBPODOFO-2782276
  • published20 Feb 2025
  • disclosed26 May 2021

Introduced: 26 May 2021

CVE-2021-30471  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 libpodofo to version 0.9.7+dfsg-3ubuntu0.1~esm1 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 Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

A flaw was found in PoDoFo 0.9.7. An uncontrolled recursive call in PdfNamesTree::AddToDictionary function in src/podofo/doc/PdfNamesTree.cpp can lead to a stack overflow.

CVSS Base Scores

version 3.1