Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qpdf/qpdf package, versions [,7.0-b1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.06% (64th 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-UNMANAGED-QPDFQPDF-2369474
  • published26 Jan 2022
  • disclosed13 Feb 2018
  • creditUnknown

Introduced: 13 Feb 2018

CVE-2015-9252  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade qpdf/qpdf to version 7.0-b1 or higher.

Overview

Affected versions of this package are vulnerable to Loop with Unreachable Exit Condition ('Infinite Loop'). An issue was discovered in QPDF before 7.0.0. Endless recursion causes stack exhaustion in QPDFTokenizer::resolveLiteral() in QPDFTokenizer.cc, related to the QPDF::resolve function in QPDF.cc.

CVSS Base Scores

version 3.1