pypdf: Possible long runtimes/large memory usage when retrieving form fields
Impact
pypdf versions prior to 6.21.0 may experience large memory usage or long runtimes when retrieving form fields from a crafted PDF. An attacker can cause this issue. The weakness is related to uncontrolled resource consumption and inefficient algorithmic complexity.
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.21.0
Other versions: unknown
Original source description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF that causes large memory usage or long runtimes when an application retrieves the document's form fields. This issue is fixed in version 6.21.0.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-113789View 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.