CVE Catalog

CVE-2026-22691

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.43%

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

Summary

pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref entries when rebuilding the cross-reference table, especially for PDF files with lots of whitespace characters. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.

Risk Assessment

This can lead to excessive resource consumption and denial of service (DoS) when processing untrusted PDF files. It affects system availability.

Recommendation

Update pypdf to version 6.6.0 or later. Until updated, avoid non-strict mode for untrusted PDF files.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for invalid startxref entries. When rebuilding the cross-reference table, PDF files with lots of whitespace characters become problematic. Only the non-strict reading mode is affected. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.

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