Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-57204: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf

0
Medium
VulnerabilityCVE-2026-57204cvecve-2026-57204cwe-400
Published: 06/30/2026 (06/30/2026, 21:59:46 UTC)
Source: CVE Database V5
Vendor/Project: py-pdf
Product: pypdf

Description

A vulnerability in the pypdf library prior to version 6.13.3 allows a denial of service (DoS) condition due to uncontrolled resource consumption. This occurs when a maliciously crafted PDF with a content stream lacking a /Length value causes excessive memory usage. The issue has been fixed in version 6.13.3.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

pypdf
pkg:pypi/pypdf
Affected versions
<6.13.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 22:21:24 UTC

Technical Analysis

CVE-2026-57204 is an uncontrolled resource consumption vulnerability (CWE-400) in the pypdf Python library. Before version 6.13.3, the library could ignore the MAX_DECLARED_STREAM_LENGTH limit when parsing a content stream without a /Length attribute, leading to large memory usage and potential denial of service. This vulnerability can be triggered by processing a specially crafted PDF file. The issue was addressed and fixed in pypdf version 6.13.3.

Potential Impact

An attacker can cause a denial of service by crafting a PDF that triggers excessive memory consumption during parsing, potentially leading to application crashes or resource exhaustion. There is no indication of privilege escalation, code execution, or data disclosure from the provided data.

Mitigation Recommendations

Upgrade pypdf to version 6.13.3 or later, where this vulnerability has been fixed. No other mitigation or temporary workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-24T02:00:46.801Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a443df227e9c7971976778e

Added to database: 06/30/2026, 22:06:42 UTC

Last enriched: 06/30/2026, 22:21:24 UTC

Last updated: 06/30/2026, 22:21:24 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses