Skip to content
Medium 6.0

pypdf: Possible infinite loop when hitting EOF in standard xref table

CVE-2026-113794 First seen on SecPulse

Affected packages

PackageAffected → Fixed
py-pdfpypdf —
PyPIpypdf
< 6.20.0→ 6.20.0
pippypdf
< 6.20.0→ 6.20.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, an attacker can craft an incomplete PDF that ends inside a standard cross-reference table, causing pypdf to mishandle the unexpected end of file and enter an infinite loop. This issue is fixed in version 6.20.0.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details