CVE-2026-84310

pypdf: Possible long runtimes/large memory usage when retrieving outlines

State
Published
Severity
4.8 Medium
Published
Sep 1, 2026
Updated
Sep 4, 2026
Reserved
Sep 1, 2026

Read the record on cve.org

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/_doc_common.py _get_outline to consume long runtimes and large amounts of memory when retrieving document outlines with large numbers of entries or deeply nested reused paths because the traversal lacked global entry-count and nesting-depth limits. This issue is fixed in version 6.16.1.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-405 Asymmetric Resource Consumption (Amplification)
  • CWE-834 Excessive Iteration

Affected Products

ProductVersions
pypdfpy-pdf
  • < 6.16.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.