vulns.co
/
GKData.io MCP and API Buy me a coffee

py-pdf / pypdf

pypdf: bound repeated work when reading embedded attachments

pypdf's maintainer reports excessive processing time in the dictionary-based embedded-file interface before 6.19.0 (CVE-2026-102999). Each attachment lookup parsed the full attachment list again. Repeated ordinary lookups could therefore multiply the total work.

Open the referenceMaintainer AdvisoryReviewed 2026-10-03

How to use this reference

The maintainer identifies 6.19.0 as patched. The merged correction records file objects by name so subsequent retrieval mostly accesses the corresponding stream directly. Editorial lesson for document-processing services: review aggregate complexity across convenience APIs, not only individual parsing calls, and maintain independent worker time and resource budgets.

Before reading

  • Document-processing pipelines and PDF embedded-file concepts
  • Basic algorithmic complexity and resource isolation

Context and limits

  • The advisory requires use of the dictionary-based embedded-file API. Merely receiving a PDF or using unrelated pypdf functionality does not establish exposure.
  • The public advisory confirms long-runtime impact but does not provide measured production outage evidence; no execution or confidentiality impact is established.
  • jungmingi-lab is credited as reporter; stefan6419846 published the advisory and authored the remediation explanation.
  • The correction merged September 14, 2026; release and advisory publication occurred September 16. The release classifies this change as a performance improvement, while the separate advisory identifies its security relevance.
  • No bounty claim is made. Learning prerequisites and service-level budget recommendations are editorial.
  • The cited software release is dated 2026-09-16; it is distinct from the advisory publication and is not a claim about the latest available release.

Sources

  1. Possible long runtimes with large amount of embedded filespy-pdf / pypdf · reviewed 2026-10-03
  2. Version 6.19.0, 2026-09-16py-pdf / pypdf · reviewed 2026-10-03
  3. Reduce number of full data lookups for attachment mapping APIpy-pdf / pypdf · reviewed 2026-10-03

Record reviewed 2026-10-03. Snapshot af2809c308fc. Open the complete JSON contract.

Library synced 2026-11-18 · cases last reviewed 2026-10-05

af2809c308fc · JSON exports & schemas · CC BY 4.0 content / MIT software