Resource Management Errors Affecting qpdf/qpdf package, versions [,9.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (27th 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-2369475
  • published26 Jan 2022
  • disclosed10 Apr 2018
  • creditUnknown

Introduced: 10 Apr 2018

CVE-2018-9918  (opens in a new tab)
CWE-399  (opens in a new tab)

How to fix?

Upgrade qpdf/qpdf to version 9.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Resource Management Errors libqpdf.a in QPDF through 8.0.2 mishandles certain "expected dictionary key but found non-name object" cases, allowing remote attackers to cause a denial of service (stack exhaustion), related to the QPDFObjectHandle and QPDF_Dictionary classes, because nesting in direct objects is not restricted.

CVSS Base Scores

version 3.1