Algorithmic Complexity Affecting pypdf2 package, versions *


Severity

Recommended
0.0
medium
0
10

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

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-ECHOLATEST-PYPDF2-19477192
  • 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 Echo:latest pypdf2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pypdf2 package and not the pypdf2 package as distributed by Echo. See How to fix? for Echo:latest 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