Algorithmic Complexity Affecting pypdf2 package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.52% (42nd 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-DEBIAN12-PYPDF2-19477304
  • published1 Sept 2026
  • disclosed31 Aug 2026

Introduced: 31 Aug 2026

CVE-2026-82398  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 pypdf2.

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:12 relevant fixed versions and status.

pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.

CVSS Base Scores

version 3.1