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…
EPSS 0.2%top 89%

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

pypdf is a free and open-source pure-python PDF library. Prior to 6.13.3, a maliciously crafted PDF can cause DoS. An attacker who uses this vulnerability can craft a PDF which leads to large memory usage, as MAX_DECLARED_STREAM_LENGTH is sometimes ignored. This requires parsing a content stream without a /Length value. This 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: 07/08/2026, 12:43:49 UTC

Technical Analysis

CVE-2026-57204 is an uncontrolled resource consumption vulnerability (CWE-400) in the pypdf Python library. When parsing a maliciously crafted PDF lacking a /Length value in a content stream, the library may ignore the MAX_DECLARED_STREAM_LENGTH limit, causing large memory usage and potential denial of service. This vulnerability affects all pypdf versions prior to 6.13.3 and has been resolved in 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. This can lead to application crashes or degraded performance due to resource exhaustion. There is no indication of privilege escalation, data disclosure, or code execution from this vulnerability.

Mitigation Recommendations

Upgrade to pypdf version 6.13.3 or later, where this vulnerability is fixed. No other mitigation or 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: 07/08/2026, 12:43:49 UTC

Last updated: 08/09/2026, 14:47:37 UTC

Views: 71

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