PyPI
CVE-2026-119208
pypdf has possible long runtimes/large memory usage for encrypted PDF files
- Severity
- High
- Published
- 30 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 6.21.3
- Exploit chance
- 0.3% in the next 30 daysHigher than 23% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-62m5-6wh8-28x7
- Sources
- OSV.dev and GitHub
Description
An attacker who uses this vulnerability can craft a PDF which leads to large runtimes/memory usage. This requires accessing the page count of an encrypted PDF file, which itself declares a wrong /Count value.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #4270.
Affected software
| Software | Affected versions |
|---|---|
pypdfPyPI · osv:PyPI:pypdf |
|
About pypdf
- Weekly downloads (PyPI)
- 51,984,861PyPI Stats, 23 Nov 2026
Vulnerabilities in pypdf
- In our list
- 10
- Published in the last 12 months
- 10
- Critical, last 12 months
- 0
- High, last 12 months
- 10
- Known exploited
- 0
- CVE-2026-134364pypdf 3.7.1 before 7.0.0 Placeholder Recovery via File Identifier in Encrypted DocumentsHigh 8.7 21 Nov 2026
- CVE-2026-134366pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical OffsetsHigh 8.7 21 Nov 2026
- CVE-2026-134367pypdf 2.4.2 before 7.0.0 Excessive Memory Usage via XFA FormsHigh 8.7 21 Nov 2026
- CVE-2026-119203pypdf has possible infinite loop when hitting EOF in standard xref table during trailer searchHigh 30 Oct 2026
- CVE-2026-119204pypdf has possible large memory usage when parsing page treeHigh 30 Oct 2026
- CVE-2026-119205pypdf has possible infinite loop when cloning dictionariesHigh 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119208
- GitHub Advisory Database https://github.com/advisories/GHSA-62m5-6wh8-28x7