Skip to main content

pypdf CVE-2026-137549

| EUVDEUVD-2026-136765 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-26 VulnCheck
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted PDF to PDF-processing endpoint
  2. Delivery
    pypdf loads image with underestimated size estimate
  3. Exploit
    size-limit checks bypassed for filter
  4. Execution
    image decode allocates excessive memory
  5. Impact
    process exhausts RAM and denies service

Vulnerability Assessment

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

Exploitation Conditions

Exploitation requires the target application to load, via pypdf before 7.0.1, a crafted PDF containing images that use filters lacking their own built-in data-size limit (the advisory notes this is a follow-up: certain image modes produced data-size estimates too low to be caught by pypdf's size guards). The limiting factor is deployment context rather than vector complexity: the attacker must be able to get a malicious PDF into a code path that actually decodes/loads its images (upload, conversion, extraction, or rendering pipeline). Per CVSS 4.0 PR:N/UI:N, no authentication or user interaction is required at the pypdf level once the PDF reaches the loader; impact is confined to availability (process/host memory exhaustion) with no confidentiality or integrity effect. Services that only process trusted, locally-generated PDFs face materially lower real-world risk.

Impact

This is a genuine but bounded denial-of-service issue, not a code-execution or data-exposure flaw. The authoritative CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7 entirely on availability (VA:H) with zero confidentiality or integrity impact (VC:N/VI:N), so the high number reflects easy, unauthenticated, no-interaction triggering rather than broad impact severity. The vuln.today priority is 'this_week' (not act_now/emergency). No CISA KEV listing and no EPSS score are present in the input, so widespread or automated exploitation is not evidenced - absence of these signals is not proof of safety but does argue against emergency urgency. There is no confirmed public exploit: the referenced PR #4374 is the fix/workaround, not weaponized PoC code. The practical caveat is that CVSS rates this AV:N/PR:N/UI:N, but exploitation requires the embedding application to actually accept and load an attacker-supplied PDF with pypdf image loading; in a service that ingests untrusted PDFs this is effectively remote and unauthenticated, while in a tool that only opens trusted local files the real-world exposure is much lower. Net: a real patch-this-cycle priority for any service that parses untrusted PDFs, but a high-CVSS-moderate-real-risk issue for closed/trusted-input deployments.

Exploit ScenarioDerived

An attacker submits a specially crafted PDF to an application that uses pypdf to render or extract images - for example a document-upload, conversion, or thumbnailing service. When pypdf loads an image whose mode causes an underestimated data-size (defeating the filter size limits), decoding balloons memory far beyond the declared size, exhausting RAM and crashing or hanging the worker. No authentication or user interaction beyond normal PDF submission is required, and attack complexity is low; no confirmed public exploit code was identified, though the fixing PR describes the underlying flaw.

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

Memory exhaustion in pypdf before 7.0.1 allows unauthenticated remote attackers to cause denial of service by supplying a crafted PDF whose images use filters lacking their own data-size limit, defeating pypdf's size estimates. The impact is availability-only and requires the target application to load or decode the PDF's images; services that process only trusted PDFs face materially lower risk. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor fixed the issue in 7.0.1.

RemediationAI

Vendor-released patch: pypdf 7.0.1. Upgrade to pypdf 7.0.1 or later, for example by updating the pip/pypdf dependency to >= 7.0.1; the release is at https://github.com/py-pdf/pypdf/releases/tag/7.0.1. If upgrading is not immediately possible, the GHSA recommends considering applying the changes from PR #4374 as a workaround; no other workaround is listed. See the GitHub advisory at https://github.com/py-pdf/pypdf/security/advisories/GHSA-fhff-j4m8-439h and the VulnCheck advisory at https://www.vulncheck.com/advisories/pypdf-before-7.0.1-excessive-memory-usage-via-crafted-pdf-images.

Affected VersionsENISA

pypdf 0 <7.0.1

Affected Packages

euvd pypdf fix: 7.0.1

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

pypdf is a Python PDF library, and the affected code path is image loading during PDF parsing or rendering. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling; the GHSA also maps CWE-400), where data-size estimates for some image modes are too low, so pypdf's guards fail to cap memory allocation for filters that do not enforce their own size limit. The advisory describes this as a follow-up to an earlier advisory about underestimated image sizes, and the trigger is loading images with filters not already employing a data-size limit; the available sources do not describe a more specific malformed byte sequence. The supplied CVSS 4.0 score is 8.7 with AV:N/AC:L/AT:N/PR:N/UI:N and high availability impact only, while the independent CVSS 3.1 assessment likewise rates confidentiality and integrity as none and availability as high.

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

Remote, low-complexity, unauthenticated triggering when an app loads an attacker-supplied PDF; 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

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 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:00 cve.org
HIGH 8.7

DescriptionCVE.org

pypdf before 7.0.1 contains a resource exhaustion vulnerability in image loading because data size estimates for some image modes are too low, defeating limits for filters without their own size limit. Attackers can craft a PDF whose images, when loaded, cause large memory usage and denial of service.

Technical POC Analysis

Evidence caveat: the only artefact supplied is advisory GHSA-fhff-j4m8-439h.

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

CVE-2026-137549 is a high-severity availability vulnerability in pypdf versions prior to 7.0.1 that allows a remote, unauthenticated attacker to cause a denial-of-service condition by exhausting system memory through crafted PDF files. Any business service or product that uses pypdf to process untrusted PDFs-such as file upload scanners, document conversion pipelines, or third-party content ingestion-is at risk of a full outage. Leadership should prioritize this because a successful attack can halt revenue-generating services and degrade customer trust, even though there is no evidence of active exploitation.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict PDF processing to trusted sources, impose strict file-size and image-resolution limits, and isolate PDF decoding in memory-constrained sandboxes with automated restart and alerting.

Threat Intelligence Overview

EPSS Score
0.5%
Top 65% exploitable
Prevalence
High
pypdf is among the most widely used Python PDF parsing libraries
Data Quality
5 sources
Confidence: Medium

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

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