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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-405",
"CWE-834"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84310.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.16.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d91ab705fd81ed1a9cec175c6958600dea1a4942"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "6.16.1",
"range": [
{
"fixed": "1bce7a755b4b24ef9d5f2b03f9882c115bec91f2"
}
],
"source": "REFERENCES_TAG"
}
]
}