Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted PDF to PDF-processing endpoint
-
Deliverypypdf loads image with underestimated size estimate
-
Exploitsize-limit checks bypassed for filter
-
Executionimage decode allocates excessive memory
-
Impactprocess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Memory exhaustion while parsing crafted PDFs in pypdf versions prior to 6.21.3 allows an attacker to drive a consuming p
Denial of service in pypdf before 6.21.3: retrieving the page count (for example via len(reader.pages) or get_num_pages(
Memory exhaustion in the pypdf PDF library before 6.21.3 allows a small, deliberately malformed PDF dictionary to blow u
pypdf before 6.21.3 can be driven into excessive CPU consumption when an application retrieves page labels from a specia
Cloning or duplicating a crafted cyclic DictionaryObject with pypdf before 6.21.4 can hang the calling process in an inf
Parsing a crafted PDF with pypdf before 6.21.4 can drive disproportionate memory consumption when the library enumerates
Denial of service in pypdf prior to 6.21.4 lets remote attackers hang a PDF-processing thread by supplying an incomplete
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
Infinite loop denial-of-service in pypdf prior to 6.13.1 allows an attacker to hang any process that merges a crafted PD
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat
pypdf is an open source, pure-python PDF library. Rated medium severity (CVSS 5.5), this vulnerability is no authenticat
EUVD-2026-136765
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB