Skip to main content

CVE-2026-33123

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-03-18 https://github.com/py-pdf/pypdf GHSA-qpxp-75px-xjcp
5.1
CVSS 4.0 · Vendor: https://github.com/py-pdf/pypdf
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
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

Without an assigned CVSS score or vector, the severity assessment relies on other signals. The vulnerability is classified as a Denial of Service attack, which typically carries moderate to high impact depending on context. The attack vector is network-based (attacker crafts a PDF and delivers it), and the complexity is low (simply requires sending a specially crafted file). No special privileges or user interaction beyond opening/processing the PDF is mentioned, suggesting the attack is straightforward to execute. The availability of a vendor patch (6.9.1) and a public PR (#3686) indicates this is a known and addressed issue. The absence of KEV listing and EPSS score suggests this is not currently trending in active exploit campaigns, but the low attack complexity and direct DoS impact mean it should still be prioritized for patching. For organizations processing untrusted PDFs (document workflows, web services, API endpoints), this presents a tangible availability risk. Organizations using pypdf in internal-only workflows with trusted documents face lower practical risk.

Exploit ScenarioDerived

An attacker crafts a specially formatted PDF file containing an array-based stream with thousands or millions of entries and uploads it to a web service that uses pypdf for document conversion or metadata extraction. When the service processes the file, pypdf's stream handler enters a resource-intensive loop, consuming gigabytes of memory and CPU cycles, causing the service to slow to a crawl or crash entirely. The attacker can repeat this attack against multiple instances or users to achieve sustained denial of service. No user interaction beyond the automatic processing of the PDF file is required, making this trivial to automate.

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 18, 2026

A Denial of Service vulnerability exists in pypdf (Python PDF library) where an attacker can craft a malicious PDF file that causes excessive runtime and memory consumption by exploiting improper handling of array-based streams with large numbers of entries. All versions of pypdf prior to 6.9.1 are affected. An attacker can remotely trigger resource exhaustion on any system processing untrusted PDF files with this library, potentially causing application crashes or service unavailability.

RemediationAI

Upgrade pypdf to version 6.9.1 or later immediately. This is the primary fix released by the vendor and addresses the resource consumption issue in array-based stream handling. For organizations unable to upgrade immediately, apply the upstream patch from GitHub PR #3686 (https://github.com/py-pdf/pypdf/pull/3686) to your local pypdf installation. As a temporary control, implement input validation on PDF files before processing—reject PDFs with unusually large array-based streams, or run pypdf in a sandboxed environment with strict resource limits (memory caps, CPU timeouts) to prevent complete service disruption if a malicious PDF is processed. Monitor PyPI and the pypdf GitHub repository for any security advisories and apply patches promptly.

Affected Packages

pypi pypdf fix: 6.9.1

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 is rooted in CWE-400 (Uncontrolled Resource Consumption), a class of weaknesses where software fails to properly limit the consumption of resources such as memory and CPU. The affected product is pypdf (pkg:pip/pypdf), a pure-Python PDF processing library used for reading, writing, and manipulating PDF documents. The specific attack vector involves array-based streams within PDF files—a legitimate PDF structure used to store ordered collections of objects. The vulnerability arises from insufficient bounds checking or inefficient handling when pypdf processes streams containing an abnormally large number of entries, causing the parser to allocate excessive memory or enter long-running computation loops. This is a common pattern in PDF parsing vulnerabilities where the format's complexity and flexibility allow attackers to craft edge-case documents that stress parser implementations.

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 5.1 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat 4.3 MEDIUM

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

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

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

Lifecycle Timeline

3
CVSS changed
Nov 02, 2026 - 16:07 NVD
6.5 (MEDIUM) 5.1 (MEDIUM)
Patch released
Mar 18, 2026 - 16:30 nvd
Patch available
CVE Published
Mar 18, 2026 - 16:17 nvd
MEDIUM 6.5

DescriptionCVE.org

Impact

An attacker who uses this vulnerability can craft a PDF which leads to long runtimes and/or large memory usage. This requires accessing an array-based stream with lots of entries.

Patches

This has been fixed in pypdf==6.9.1.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #3686.

Executive ViewAI

Why It Matters

CVE-2026-33123 presents notable security risk, a resource exhaustion vulnerability rated CVSS 6.5. Service availability could be impacted. A patch is available and should be applied during regular vulnerability management.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: implement rate limiting and resource quotas.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS 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

Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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

SUSE

Severity: Medium
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed

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