
CVE catalog
CVE-2025-55197
pypdf: CVE-2025-55197
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.48% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pypdf | sid | 6.21.1-1 | fixed |
| Debian | pypdf | forky | 6.21.1-1 | fixed |
| Debian | pypdf | trixie | 5.4.0-1 | vulnerable |
| Debian | pypdf | bookworm | 3.4.1-1+deb12u1 | vulnerable |
| Debian | pypdf2 | bookworm | 2.12.1-3+deb12u1 | vulnerable |
| PyPI | pypdf | Not reported | 6.0.0 | fixed |
| Opensuse | python-PyPDF2 | tumbleweed | 2.11.1-4.1 | fixed |
| Opensuse | python-pypdf | tumbleweed | 6.0.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pypdf | source | sid | 6.9.0-1 | not yet assigned | Not reported | [1111139] |
| Debian | pypdf | source | forky | 6.9.0-1 | not yet assigned | Not reported | [1111139] |
| Debian | pypdf | source | trixie | (unfixed) | not yet assigned | Not reported | [1111139] |
| Debian | pypdf | source | bookworm | (unfixed) | not yet assigned | Not reported | [1111139] |
| Debian | pypdf2 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | pypdf | PyPI | Not reported | 6.0.0 | Not reported | GHSA-7HFW-26VP-JP8M | Not reported |
| Opensuse | python-PyPDF2 | rpm | tumbleweed | 2.11.1-4.1 | Not reported | OPENSUSE-SU-2026:10238-1 | Not reported |
| Opensuse | python-pypdf | rpm | tumbleweed | 6.0.0-1.1 | Not reported | OPENSUSE-SU-2025:15439-1 | Not reported |
Notes
[trixie] pypdf: Minor issue [bookworm] pypdf: Minor issue [bookworm] pypdf2: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pypdf]Affected
Source package: [pypdf]
Details (2)
3.4.1-1+deb12u1· all · bookwormAffected
dsa · pypdf · debian · bookworm; dsa · pypdf · debian · 12
3.4.1-1+deb12u1· all · bookwormAffected
dsa · pypdf · debian · bookworm; dsa · pypdf · debian · 12
- [python3-pypdf2]Affected
Source package: [pypdf2]
Details (2)
2.12.1-3+deb12u1· all · bookwormAffected
dsa · pypdf2 · debian · bookworm; dsa · pypdf2 · debian · 12
2.12.1-3+deb12u1· all · bookwormAffected
dsa · pypdf2 · debian · bookworm; dsa · pypdf2 · debian · 12
[Debian 13 (Trixie)]
- [python3-pypdf]Affected
Source package: [pypdf]
Details (2)
5.4.0-1· all · trixieAffected
dsa · pypdf · debian · 13
5.4.0-1· all · trixieAffected
dsa · pypdf · debian · 13
[openSUSE Tumbleweed]
- [python313-pypdf]Unknown
Source package: [python-pypdf]
Details (1)
6.16.2-1.1· noarch · tumbleweedUnknown · Fixed:
6.0.0-1.1Version impact unknown
dsa · python-pypdf · opensuse · tumbleweed
- [python314-pypdf]Unknown
Source package: [python-pypdf]
Details (1)
6.16.2-1.1· noarch · tumbleweedUnknown · Fixed:
6.0.0-1.1Version impact unknown
dsa · python-pypdf · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15439-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-55197]
- [https://osv.dev/vulnerability/GHSA-7hfw-26vp-jp8m]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15439-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10238-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20333-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-55197]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55197.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1730.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]