CVE Catalog

CVE-2026-82398

MediumCVSS 6.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

23th percentile - higher than 23% of all known CVEs

Summary

pypdf prior to 6.15.0 has a vulnerability causing long runtimes when the function read_until_whitespace in pypdf/_utils.py 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.

Risk Assessment

The organization may experience DoS attacks, as processing maliciously crafted PDF files could lead to significant slowdown or hang of services using pypdf.

Recommendation

It is recommended to upgrade pypdf to version 6.15.0 or later, which includes the fix. Also limit the size of processed PDF files and monitor system performance.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS