Out-of-bounds Write Affecting qpdf/qpdf package, versions [0,10.1.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (44th 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-2369467
  • published26 Jan 2022
  • disclosed20 Jul 2021
  • creditUnknown

Introduced: 20 Jul 2021

CVE-2021-36978  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade qpdf/qpdf to version 10.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain downstream write fails.

CVSS Scores

version 3.1