Skip to main content

pypdf EUVDEUVD-2026-132546

| CVE-2026-134366 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-21 VulnCheck GHSA-v747-rpqr-3mm8
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted PDF to parsing application
  2. Exploit
    Parser reads cross-reference stream
  3. Execution
    Offsets all resolve to one large object
  4. Impact
    Memory exhaustion denies service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Exploitation requires that an application use pypdf before 7.0.0 to parse a PDF supplied by the attacker; the malicious file must contain a cross-reference stream whose offsets all point to one single large object, which forces oversized memory allocation during parsing. No special product configuration, feature flag, or deployment mode is needed - default parsing behavior is sufficient. The practical limiting factor is reachability: the attacker must be able to get the crafted PDF into a pypdf parsing path (upload endpoint, attachment handler, batch processor), and the impact is confined to availability (process/host memory exhaustion) with no code execution or data exposure.

Impact

This is a denial-of-service vulnerability (CWE-407) whose only impact is availability, as confirmed by the CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H - no confidentiality or integrity consequence. The signals are moderate and internally consistent rather than alarming: network vector, low attack complexity, no authentication (PR:N) and no user interaction make the flaw easy to trigger whenever an application parses an attacker-supplied PDF, which drives the 8.7 'high' score under CVSS 4.0. Countervailing signals temper real-world urgency: there is no CISA KEV listing (not actively exploited), no EPSS score was supplied, and no public exploit code is referenced in the input. The vuln.today decision label is 'this_week' (not act_now or emergency), reflecting a serious-but-not-critical priority. Net assessment: a real, broadly reachable DoS in a popular library that warrants prompt patching, but the single-dimension (availability-only) impact and absence of exploitation evidence place it below memory-corruption or RCE priorities. Note EPSS and KEV data are absent, so the probabilistic exploitation picture cannot be fully characterized from the provided data.

Exploit ScenarioDerived

An attacker submits a specially crafted PDF to any service or application that parses PDFs with pypdf < 7.0.0 - for example a document-upload portal, email attachment processor, or automated report pipeline. The PDF's cross-reference stream is built so that all offsets point to a single large object, causing pypdf to allocate excessive memory while parsing and exhausting the host's resources. No public exploit is identified at time of analysis, but the trigger mechanism is fully described in the vendor advisory, making reproduction straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 21, 2026

Applications that parse attacker-supplied PDFs with pypdf versions before 7.0.0 can be forced into oversized memory allocation by a crafted file whose cross-reference stream entries all resolve to one large object, exhausting memory at the process or host level. The impact is availability-only (CVSS 4.0 8.7, VC:N/VI:N/VA:H) and, per the assessed vector, needs no privileges or user interaction once a malicious PDF reaches a pypdf parsing path such as an upload endpoint, attachment handler, or batch converter. No public exploit code was identified at the time of analysis and KEV status is not indicated; the vendor addressed the issue in pypdf 7.0.0.

RemediationAI

Upgrade to pypdf 7.0.0 or later (pip package fixed in >= 7.0.0), as directed by the vendor advisory GHSA-59jv-x5x2-gg4c and the 7.0.0 release notes (https://github.com/py-pdf/pypdf/releases/tag/7.0.0). If upgrading is not immediately possible, the vendor's stated workaround is to apply the changes from PR https://github.com/py-pdf/pypdf/pull/4364, which backports the fix; note that maintaining a forked or patched copy carries ongoing maintenance overhead, and because the impact is availability-only, deployments where pypdf parses untrusted PDFs should prioritise this upgrade path first.

Affected VersionsENISA

pypdf 0 <7.0.0

Affected Packages

euvd pypdf fix: 7.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The root cause class is CWE-407, inefficient algorithmic complexity, applied to PDF cross-reference stream parsing. PDF 1.5 and later may carry the document's cross-reference table inside a stream object (/XRef) holding entries that map object numbers to byte offsets. pypdf before 7.0.0 processes these entries without adequately bounding the work implied by them, so a file whose cross-reference entries all point at one single large object causes the parser to allocate and retain memory disproportionate to the actual document size. The trigger is specifically described by the vendor as 'a file with a cross-reference stream where the offsets all point to one large object'; no other parsing path, configuration, or feature flag is implicated. Affected packages are tracked as cpe:2.3:a:py-pdf:pypdf:* for all releases below 7.0.0, and the consequence is confined to availability - there is no code execution, privilege escalation, or data exposure described.

Know when Pypdf gets its next vulnerability

  • 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 (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

A crafted PDF parsed by a network-facing service triggers the flaw without auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only memory exhaustion, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
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 available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:34 cve.org
HIGH 8.7

DescriptionCVE.org

pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.

Technical POC Analysis

CWE-407, Inefficient Algorithmic Complexity (memory variant).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity availability vulnerability in pypdf versions before 7.0.0 allows a crafted PDF to exhaust memory in applications that parse user-supplied files, potentially causing process or host-level outages. Any business unit relying on PDF ingestion-such as document upload, email attachment processing, or batch conversion-is at risk of service disruption. Leadership should prioritize remediation because an unauthenticated attacker could trigger denial-of-service without user interaction.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include enforcing strict memory limits, validating PDF structure before parsing, isolating parsers in constrained containers, and rate-limiting or blocking untrusted PDF uploads.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
High
pypdf is a widely used, high-download Python PDF-parsing library
Data Quality
7 sources
Confidence: High
EUVD 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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

More in Pypdf

View all
CVE-2026-119209 HIGH POC
7.1 Oct 29

Memory exhaustion while parsing crafted PDFs in pypdf versions prior to 6.21.3 allows an attacker to drive a consuming p

CVE-2026-119208 HIGH POC
7.1 Oct 29

Denial of service in pypdf before 6.21.3: retrieving the page count (for example via len(reader.pages) or get_num_pages(

CVE-2026-119207 HIGH POC
7.1 Oct 29

Memory exhaustion in the pypdf PDF library before 6.21.3 allows a small, deliberately malformed PDF dictionary to blow u

CVE-2026-119206 HIGH POC
7.1 Oct 29

pypdf before 6.21.3 can be driven into excessive CPU consumption when an application retrieves page labels from a specia

CVE-2026-119205 HIGH POC
7.1 Oct 29

Cloning or duplicating a crafted cyclic DictionaryObject with pypdf before 6.21.4 can hang the calling process in an inf

CVE-2026-119204 HIGH POC
7.1 Oct 29

Parsing a crafted PDF with pypdf before 6.21.4 can drive disproportionate memory consumption when the library enumerates

CVE-2026-119203 HIGH POC
7.1 Oct 29

Denial of service in pypdf prior to 6.21.4 lets remote attackers hang a PDF-processing thread by supplying an incomplete

CVE-2026-84309 MEDIUM POC
6.9 Sep 01

Infinite loop denial of service in pypdf prior to 6.16.0 allows any attacker who can supply a crafted PDF to a pypdf-bas

CVE-2026-54651 MEDIUM POC
6.9 Jun 22

Infinite loop denial-of-service in pypdf prior to 6.13.1 allows an attacker to hang any process that merges a crafted PD

CVE-2023-36810 MEDIUM POC
6.5 Jun 30

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat

CVE-2023-36807 MEDIUM POC
6.5 Jun 30

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat

CVE-2023-36464 MEDIUM POC
5.5 Jun 27

pypdf is an open source, pure-python PDF library. Rated medium severity (CVSS 5.5), this vulnerability is no authenticat

Vendor StatusVendor

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