
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-24688 is an infinite loop (Denial of Service) vulnerability in pypdf, a free and open-source pure-Python PDF library. An attacker can craft a malicious PDF file with cyclic references in its outline/bookmark structure that, when processed by pypdf, causes the application to enter an infinite loop. All pypdf versions prior to 6.6.2 are affected. The vulnerability was reported by JoakimBulow, disclosed and patched on January 26, 2026, and has a CVSS v3.1 base score of 4.3 (Medium) and a CVSS v4.0 base score of 5.1 (Medium) (Github Advisory, pypdf Advisory).
The root cause is classified as CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop). The _get_outline() method in pypdf/_doc_common.py traversed the PDF outline/bookmark linked-list structure without tracking previously visited nodes, allowing a specially crafted PDF with cyclic /Next or /First references in its outline dictionary to cause the traversal loop to never terminate. Exploitation requires that the application accesses the outline or bookmarks property of a PdfReader object on the malicious PDF. The fix, introduced in PR #3610, adds a visited set to track node object IDs and breaks the loop with a warning upon detecting a cycle (pypdf PR #3610, Fix Commit).
Successful exploitation causes a Denial of Service (DoS) by hanging the affected Python process indefinitely, exhausting CPU resources and rendering the application unresponsive. There is no impact on confidentiality or data integrity — the vulnerability is limited to availability. Systems that automatically process untrusted PDF documents (e.g., document management platforms, PDF conversion services, or data pipelines using pypdf) are most at risk of service disruption (Github Advisory).
A proof-of-concept exploit and a sample malicious PDF (circular_outline.pdf) are publicly available on GitHub (PoC Repository). There is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.014% (3rd percentile), indicating a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was reported by JoakimBulow and credited in the official advisory (Github Advisory).
/Next or /First keys (e.g., Bookmark A's /Next points to Bookmark B, and Bookmark B's /Next points back to Bookmark A). A sample file (circular_outline.pdf) is available in the public PoC repository.reader.outline or reader.bookmarks property on the loaded PDF. Many document processing pipelines do this automatically for indexing or rendering purposes._get_outline() method enters an infinite loop traversing the cyclic references, consuming 100% of a CPU core and hanging the process indefinitely, causing a denial of service (pypdf PR #3610, PoC Repository)."Detected cycle in outline structure for {...}" indicate a malicious or malformed PDF was submitted.The primary remediation is to upgrade pypdf to version 6.6.2 or later, which includes the fix for cyclic outline detection (pypdf Release 6.6.2). For projects that cannot upgrade immediately, the changes from PR #3610 can be applied manually to pypdf/_doc_common.py (pypdf PR #3610). As an additional operational control, restrict or sandbox the processing of untrusted PDF documents, and consider disabling outline/bookmark access if not required by the application. IBM has also issued a patch for affected watsonx Orchestrate with watsonx Assistant Cartridge products (IBM Advisory).
The vulnerability was covered by several security blogs and community sites shortly after disclosure, including write-ups titled "Ouroboros in the Outline: Infinite Loops in pypdf" on dev.to and infinitsec.net. Oracle included this CVE in its April 2026 security bulletin, and IBM issued a security bulletin for affected watsonx products in May 2026. Community reaction has been low-key given the moderate severity and limited impact scope, with no significant controversy or widespread concern noted (Oracle Advisory, IBM Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."