What’s Vulnerable › Vulnerabilities

CVE-2026-84310: pypdf: Possible long runtimes/large memory usage when retrieving outlines

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.

Affected products

How to fix

Upgrade to a fixed version: py-pdf pypdf 6.16.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-84310 or the next vulnerability affects your stack