CVE-2026-57204 Details
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.
A denial-of-service vulnerability has been identified in pypdf, a pure-Python PDF library, in versions prior to 6.13.3. The issue arises when a maliciously crafted PDF is parsed, leading to excessive memory usage. This problem occurs because the library sometimes ignores the maximum declared stream length for content streams that lack a specified length value. The vulnerability has been addressed in version 6.13.3.
Users can upgrade to pypdf version 6.13.3 or later to address this vulnerability. If an immediate upgrade is not possible, consider applying the changes from pull request #3871.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/py-pdf/pypdf/releases/tag/6.13.3 | [email protected] | ProductRelease Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-jm82-fx9c-mx94 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pypdf project pypdf | < 6.13.3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 6, 2026 | Initial Analysis | [email protected] |
| Jul 1, 2026 | CVE Modified | CISA-ADP |
| Jun 30, 2026 | New CVE Received | [email protected] |