pypdf: Possible infinite loop when removing tree items
Impact
pypdf versions prior to 6.20.1 may enter an infinite loop when removing objects from crafted cyclic PDF trees, blocking the process. The issue is caused by a loop with an unreachable exit condition. It is fixed in version 6.20.1.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
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.20.1
Other versions: unknown
Original source description
pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, removing an object from a crafted cyclic PDF tree, such as an outline item, can enter an infinite loop and block the current process. This issue is fixed in version 6.20.1.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-113793View 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 · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.