Algorithmic Complexity Affecting pypdf2 package, versions <1.27.9-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (51st 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-DEBIANUNSTABLE-PYPDF2-5751633
  • published4 Jul 2023
  • disclosed30 Jun 2023

Introduced: 30 Jun 2023

CVE-2023-36810  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Debian:unstable pypdf2 to version 1.27.9-1 or higher.

NVD Description

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

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. This issue has been addressed in PR 808 and versions from 1.27.9 include this fix. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Base Scores

version 3.1