
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-115585 is a Denial of Service vulnerability in pypdf, a free and open-source pure-Python PDF library, caused by an incomplete remediation of a prior issue (GHSA-55h5-xmcq-c37v). Prior to version 6.21.2, crafted PDF files containing repeated malformed cross-reference entries could trigger a complete PDF stream reload during each recovery attempt, even when a recovery cache was present, resulting in excessive processing time and resource exhaustion. All pypdf versions before 6.21.2 are affected. The vulnerability was published on October 23, 2026, with a fix released on October 21, 2026. It carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified under CWE-400 (Uncontrolled Resource Consumption), CWE-407 (Inefficient Algorithmic Complexity), and CWE-770 (Allocation of Resources Without Limits or Throttling). The prior fix for GHSA-55h5-xmcq-c37v introduced a recovery cache intended to prevent repeated full-stream reloads, but the cache check was bypassed under certain conditions — specifically, the code checked cache_get_indirect_object() but did not properly gate on whether the key was already in resolved_objects, causing the full PDF stream to be re-read on every recovery attempt for the same malformed cross-reference entry. The fix in PR #4240 addresses two related issues: avoiding repeated full file scans for the same invalid object, and reading the cross-reference table buffer only once during recovery (GitHub Advisory, Fix Commit). Exploitation requires a user or automated system to open a specially crafted PDF file, making user interaction a prerequisite.
Successful exploitation causes the pypdf library to consume excessive CPU and memory resources, rendering the application processing the PDF unresponsive or causing it to crash. There is no confidentiality or integrity impact — the vulnerability is limited to availability. Applications that automatically process user-supplied or externally sourced PDF files (e.g., document management systems, web services accepting PDF uploads) are at elevated risk, as an unauthenticated attacker could trigger the condition by submitting a crafted PDF (GitHub Advisory, Red Hat Bugzilla).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (GitHub Advisory). The EPSS score is 0.0, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. Exploitation requires convincing a user or automated pipeline to process a malicious PDF, which limits the attack surface compared to fully remote, unauthenticated vectors.
_reader.py or cross-reference parsing routines.The primary remediation is to upgrade pypdf to version 6.21.2 or later, which contains the fix introduced in PR #4240 (pypdf Release). For environments that cannot upgrade immediately, the changes from PR #4240 can be applied manually as a workaround (GitHub PR #4240). Additionally, implementing resource limits (CPU time, memory) and processing timeouts for PDF operations, as well as input validation to reject PDFs with suspicious cross-reference structures before passing them to pypdf, can reduce exposure.
The vulnerability was reported with AI assistance and credited to researchers kyrux29 and loegaire, with analysis by maintainer stefan6419846 (GitHub Advisory). Red Hat tracked the issue via Bugzilla and assigned it medium severity (Red Hat Bugzilla). Automated dependency audit bots in downstream projects (e.g., on GitHub) flagged the vulnerability shortly after disclosure, prompting dependency updates in several open-source projects (GitHub PR #4240). No significant broader media coverage or notable social media discussion beyond standard CVE notification channels was observed.
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."