pypdf: Possible long runtimes when retrieving page labels
Impact
An attacker who uses this vulnerability can craft a PDF which leads to large runtimes. This requires retrieving the page labels of a file.
Source excerpt · OSVThis requires retrieving the page labels of a file.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 6.21.3Ecosystem versions | 6.21.3 |
Version evidence: OSV · GHSA-42gh-23hr-vphw
View original version evidence (125 explicit versions)
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
py-pdf · GitHub_M
pypdf
1 range
py-pdf · GitHub_M
pypdf
Compare with this publisher’s ranges. This does not inspect your installation.
affected
< 6.21.3
Other versions: unknown
Original source description
Impact
An attacker who uses this vulnerability can craft a PDF which leads to large runtimes. This requires retrieving the page labels of a file.
Patches
This has been fixed in pypdf==6.21.3.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #4251.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119206View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.