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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-30 · Modified: 2026-07-01
- Aliases: GHSA-jm82-fx9c-mx94, UBUNTU-CVE-2026-57204, DEBIAN-CVE-2026-57204
- Record: https://cvemate.com/vulnerability/CVE-2026-57204 · JSON: https://cvemate.com/vulnerability/CVE-2026-57204/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.206%, percentile 11.271%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.13.3
- pypdf\_project pypdf: \< 6.13.3
- PyPI pypdf (PyPI): \< 6.13.3

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-jm82-fx9c-mx94>
- <https://github.com/py-pdf/pypdf/releases/tag/6.13.3>
- <https://github.com/py-pdf/pypdf/pull/3871>
- <https://github.com/py-pdf/pypdf>
- <https://ubuntu.com/security/CVE-2026-57204>
- <https://www.cve.org/CVERecord?id=CVE-2026-57204>
- <https://security-tracker.debian.org/tracker/CVE-2026-57204>

---

Data as of 2026-12-05T12:40:04.581Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
