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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-400 — CWE-400: Uncontrolled Resource Consumption
Affected products
| Vendor | Product | Versions |
|---|---|---|
| py-pdf | pypdf | < 6.13.3 |
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-jm82-fx9c-mx94 (x_refsource_CONFIRM)
- https://github.com/py-pdf/pypdf/releases/tag/6.13.3 (x_refsource_MISC)
Generated from the official CVE List on 01 Jul 2026 07:05 UTC.