CVE-2026-84311
published medium CVSS 4.0 · 4.8pypdf: Possible long runtimes/large memory usage when extracting XForm objects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.16.1 | Affected | Not stated | GitHub_M |
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text and PageObject.extract_xform_text to traverse a directed acyclic graph of reused form XObjects in which each form invokes a child multiple times, creating exponentially many traversal paths and causing long runtimes and large memory consumption. This issue is fixed in version 6.16.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.16.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-834 CWE-834: Excessive Iteration
References
4Provider assertions
2GitHub_M · cna
pypdf: Possible long runtimes/large memory usage when extracting XForm objects
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ffc3a72b7663d15b94c9bb260f5a26530ffe12ebd363b417dbe208fd1d34343
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record