Skip to main content

CVE-2026-33699

MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-03-25 https://github.com/py-pdf/pypdf
4.6
CVSS 4.0 · Vendor: https://github.com/py-pdf/pypdf
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The risk assessment is constrained by missing CVSS and EPSS data, but several factors indicate moderate to significant practical risk. The vulnerability is a denial of service attack requiring only the ability to supply a crafted PDF file to an application using pypdf in non-strict mode—a low attack complexity scenario. No evidence of active exploitation in the wild (KEV status) is provided, suggesting this may be a proactively disclosed vulnerability. However, the availability of a public patch (PR #3693) and fixed version (6.9.2) indicates this was treated seriously by maintainers. The automatable nature of DoS attacks and the ubiquity of PDF processing in business workflows elevates the practical risk. Organizations processing untrusted PDFs are at meaningful risk; those with application-level resource limits or strict mode enforcement are better protected.

Exploit ScenarioDerived

An attacker uploads or sends a specially crafted PDF file to an application that uses pypdf for document processing. When the application processes this PDF in non-strict mode (the default or configured setting), the malicious PDF structure triggers an infinite loop in the parsing logic, consuming CPU resources until the process is killed or times out. In a multi-tenant or shared infrastructure environment, this could degrade service availability for other users; in an unattended batch processing system, the hung process may persist indefinitely, accumulating resource exhaustion across multiple malicious files. No advanced privileges or user interaction are required beyond the ability to provide input to the PDF parser.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

This vulnerability in pypdf allows an attacker to craft a malicious PDF file that triggers an infinite loop when processed in non-strict mode, resulting in a denial of service condition. The affected product is pypdf (Python package available via pip), and the vulnerability has been patched in version 6.9.2. While no CVSS score or EPSS data is currently available, the vulnerability is classified as a denial of service issue stemming from improper loop handling (CWE-835: Infinite Loop).

RemediationAI

Immediately upgrade pypdf to version 6.9.2 or later, which contains the fix for the infinite loop condition. For organizations unable to upgrade immediately, apply the patch changes from GitHub PR #3693 (https://github.com/py-pdf/pypdf/pull/3693) to the affected codebase. As an interim mitigation, configure applications to use strict parsing mode if functionally feasible, implement strict resource limits and timeouts on PDF processing operations to prevent infinite loops from consuming unbounded CPU, and restrict PDF processing to trusted sources where possible. Monitor PDF processing operations for unexpectedly long execution times as an early warning sign of exploitation.

Affected Packages

pypi pypdf fix: 6.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in pypdf, a Python library for reading and writing PDF files distributed via pip (CPE: pkg:pip/pypdf). The root cause is classified under CWE-835 (Infinite Loop), indicating that the PDF parsing logic in non-strict mode contains a flaw that allows specially crafted PDF structures to cause unbounded iteration without proper termination conditions. The non-strict parsing mode, typically designed to handle malformed PDFs more gracefully, becomes a liability when it fails to detect and prevent infinite loops triggered by adversarial input. This is a classic resource exhaustion vulnerability where attacker-controlled data directly influences loop iteration without adequate safeguards.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/py-pdf/pypdf) PRIMARY 4.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 6.5 MEDIUM

Primary rating from Vendor (https://github.com/py-pdf/pypdf).

CVSS VectorVendor: https://github.com/py-pdf/pypdf

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 25, 2026 - 20:17 nvd
Patch available
CVE Published
Mar 25, 2026 - 20:05 nvd
MEDIUM 4.6

DescriptionCVE.org

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode.

Patches

This has been fixed in pypdf==6.9.2.

Workarounds

If users cannot upgrade yet, consider applying the changes from PR #3693.

Executive ViewAI

Why It Matters

CVE-2026-33699 presents moderate security risk rated CVSS 4.6. Exploitation could compromise the security of affected deployments. A patch is available and should be applied during regular vulnerability management.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:pip/pypdf

Vendor StatusVendor

Debian

pypdf
Release Status Fixed Version Urgency
bookworm vulnerable 3.4.1-1+deb12u1 -
trixie vulnerable 5.4.0-1 -
forky vulnerable 6.9.0-1 -
sid fixed 6.9.2-1 -
(unstable) fixed 6.9.2-1 -
pypdf2
Release Status Fixed Version Urgency
bullseye vulnerable 1.26.0-4+deb11u1 -
bookworm vulnerable 2.12.1-3+deb12u1 -
(unstable) fixed (unfixed) -

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy