CVE-2025-55197
published medium CVSS 4.0 · 6.6pypdf's Manipulated FlateDecode streams can exhaust RAM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.0.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyPDF2noarch | Advisory build | 2.11.1-bp160.2.1 | OPENSUSE-SU-2026:20333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2aarch64 | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2ppc64le | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2s390x | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyPDF2x86_64 | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfaarch64 | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfppc64le | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfs390x | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfx86_64 | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-PyPDF2aarch64 | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-PyPDF2ppc64le | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-PyPDF2s390x | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-PyPDF2x86_64 | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfaarch64 | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfppc64le | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfs390x | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfx86_64 | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2aarch64 | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2ppc64le | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2s390x | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyPDF2x86_64 | Advisory build | 2.11.1-4.1 | OPENSUSE-SU-2026:10238-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfaarch64 | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfppc64le | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfs390x | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfx86_64 | Advisory build | 6.0.0-1.1 | OPENSUSE-SU-2025:15439-1 |
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.0.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
5- https://github.com/py-pdf/pypdf/blob/0dd57738bbdcdb63f0fb43d8a6b3d222b6946595/pypdf/filters.py#L72-L143
- https://github.com/py-pdf/pypdf/issues/3429
- https://github.com/py-pdf/pypdf/pull/3430
- https://github.com/py-pdf/pypdf/releases/tag/6.0.0
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8m
Provider assertions
2GitHub_M · cna
pypdf's Manipulated FlateDecode streams can exhaust RAM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d3abfc4c307643b81f45a8db3867032ffcea39095110d1027d6560918a9dc3e1
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record