
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33699 is a denial-of-service vulnerability in pypdf, a free and open-source pure-Python PDF library, caused by a possible infinite loop during recovery attempts in the DictionaryObject.read_from_stream method. It affects all pypdf versions prior to 6.9.2 and is triggered only when reading a PDF file in non-strict mode. The vulnerability was reported by researcher kejcao, analyzed by stefan6419846, and disclosed on March 23, 2026, with the fix released the same day. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 4.6 (Medium) (GitHub Advisory).
The root cause is classified as CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop). Specifically, the DictionaryObject.read_from_stream method in pypdf's PDF parsing logic fails to properly handle certain malformed or crafted PDF structures when operating in non-strict (recovery) mode — particularly errors that should always trigger a hard failure, such as recursion and filter limit errors. Instead of raising an exception, the recovery path re-enters the loop without making progress, resulting in an infinite loop that consumes CPU indefinitely. Exploitation requires only that the target application processes a specially crafted PDF file with non-strict mode enabled; no authentication or user interaction beyond file submission is required (GitHub Advisory, PR #3693).
Successful exploitation causes a denial-of-service condition: the affected process enters an infinite loop, consuming excessive CPU resources and rendering the application unresponsive to legitimate users. There is no impact on confidentiality or data integrity — the vulnerability is purely an availability issue. Applications that automatically process user-supplied or externally sourced PDF files (e.g., document management systems, AI pipelines, web services) are at greatest risk, as a single malicious file can hang the processing thread or worker indefinitely (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.04% (0.000400), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement that the target application must process PDFs in non-strict mode, which limits the attack surface compared to vulnerabilities with no preconditions.
DictionaryObject.read_from_stream, specifically exploiting conditions such as recursion or filter limit errors that should raise hard errors but instead loop indefinitely in non-strict mode.DictionaryObject.read_from_stream in pypdf.The primary remediation is to upgrade pypdf to version 6.9.2 or later, which contains the fix merged via PR #3693 on March 23, 2026 (pypdf Release 6.9.2). For users who cannot upgrade immediately, the patch changes from PR #3693 can be applied manually to the affected DictionaryObject.read_from_stream method (PR #3693). As an additional workaround, configure PDF processing to use strict mode where possible, which prevents the vulnerable recovery code path from being triggered. Restricting the processing of PDF files from untrusted or external sources and implementing process timeouts for PDF parsing tasks can further reduce risk (GitHub Advisory). IBM has also issued an advisory for affected watsonx Orchestrate products (IBM Advisory).
The vulnerability was responsibly disclosed by researcher kejcao and addressed by pypdf maintainer stefan6419846 on the same day (March 23, 2026), reflecting a rapid response from the open-source project (GitHub Advisory). IBM subsequently issued a security advisory acknowledging the impact on its watsonx Orchestrate with watsonx Assistant Cartridge products, indicating downstream vendor awareness (IBM Advisory). The vulnerability was also picked up by automated dependency scanning tools (Dependabot, Mend) across numerous open-source projects that depend on pypdf, prompting widespread upgrade pull requests in the community.
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."