CVE-2026-57204: pypdf: Missing stream length values ignore defined limits

Published Jun 30, 2026
·
Updated

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 MAXDECLAREDSTREAMLENGTH is sometimes ignored. This requires parsing a content stream without a /Length value. This issue has been fixed in version 6.13.3.

Affected Software

2 affected components
pypi/pypdf<6.13.3
Pypdf Project Pypdf<6.13.3

Event History

Jun 30, 2026
CVE Published
via MITRE·09:59 PM
Data Sourced
via MITRE·09:59 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-57204?

CVE-2026-57204 has a medium severity rating of 6.9 according to the CVSS v3.0.

2

How do I fix CVE-2026-57204?

To mitigate CVE-2026-57204, update the pypdf library to version 6.13.3 or later.

3

What type of vulnerability is CVE-2026-57204?

CVE-2026-57204 is a Denial of Service (DoS) vulnerability in the pypdf library.

4

What impact does CVE-2026-57204 have?

CVE-2026-57204 can lead to excessive memory usage when processing a maliciously crafted PDF.

5

Who is affected by CVE-2026-57204?

Users of the pypdf library prior to version 6.13.3 are affected by CVE-2026-57204.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203