pypdf: Missing stream length values ignore defined limits
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
### Impact 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. ### Patches This has been fixed in [pypdf==6.13.3](https://github.com/py-pdf/pypdf/releases/tag/6.13.3). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3871](https://github.com/py-pdf/pypdf/pull/3871).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | pypdf (PyPI) | before 6.13.3 | 6.13.3 | Patch available | GHSA-jm82-fx9c-mx94 |
- pypdf (PyPI) Vendor— Affected before 6.13.3 Fixed in 6.13.3 Patch available GHSA-jm82-fx9c-mx94
Remediation
- Fix · GHSA-jm82-fx9c-mx94 pypdf (PyPI) Fixed in 6.13.3 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-jm82-fx9c-mx94
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences