
CVE catalog
CVE-2026-71870
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.13% · Oct 25, 2026
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.
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 |
| Pip | pypdf | Not reported | 6.15.0 | fixed |
| PyPI | pypdf | Not reported | 6.15.0 | fixed |
| PyPI | pypdf | Not reported | 6.15.0 | fixed |
| Cpe | pypdf | Not reported | 6.15.0 | fixed |
| Opensuse | python-pypdf | tumbleweed | 6.16.2-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pypdf | source | sid | 6.19.0-1 | not yet assigned | Not reported | [1143902] |
| Debian | pypdf | source | forky | 6.19.0-1 | not yet assigned | Not reported | [1143902] |
| Debian | pypdf | source | trixie | (unfixed) | not yet assigned | Not reported | [1143902] |
| Debian | pypdf | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143902] |
| Debian | pypdf2 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Pip | pypdf | pip | Not reported | 6.15.0 | Not reported | Not reported | Not reported |
| PyPI | pypdf | PyPI | Not reported | 6.15.0 | Not reported | PYSEC-2026-3655 | Not reported |
| PyPI | pypdf | PyPI | Not reported | 6.15.0 | Not reported | GHSA-FP3F-MC75-235C | Not reported |
| Cpe | pypdf | cpe | Not reported | 6.15.0 | Not reported | NVD-CVE-2026-71870 | Not reported |
| Opensuse | python-pypdf | rpm | tumbleweed | 6.16.2-1.1 | Not reported | OPENSUSE-SU-2026:11588-1 | Not reported |
Notes
[trixie] pypdf: Minor issue [bookworm] pypdf: Minor issue [bookworm] pypdf2: Minor issue, DoS
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pypdf]Affected
Source package: [pypdf]
Details (2)
3.4.1-1+deb12u1· all · bookwormAffected
nvd · pypdf · debian · bookworm; nvd · pypdf · debian · 12
3.4.1-1+deb12u1· all · bookwormAffected
nvd · pypdf · debian · bookworm; nvd · pypdf · debian · 12
- [python3-pypdf2]Affected
Source package: [pypdf2]
Details (2)
2.12.1-3+deb12u1· all · bookwormAffected
nvd · pypdf2 · debian · bookworm; nvd · pypdf2 · debian · 12
2.12.1-3+deb12u1· all · bookwormAffected
nvd · pypdf2 · debian · bookworm; nvd · pypdf2 · debian · 12
[Debian 13 (Trixie)]
- [python3-pypdf]Affected
Source package: [pypdf]
Details (2)
5.4.0-1· all · trixieAffected
nvd · pypdf · debian · 13
5.4.0-1· all · trixieAffected
nvd · pypdf · debian · 13
[openSUSE Tumbleweed]
- [python313-pypdf]Unknown
Source package: [python-pypdf]
Details (1)
6.16.2-1.1· noarch · tumbleweedUnknown · Fixed:
6.16.2-1.1Version impact unknown
nvd · python-pypdf · opensuse · tumbleweed
- [python314-pypdf]Unknown
Source package: [python-pypdf]
Details (1)
6.16.2-1.1· noarch · tumbleweedUnknown · Fixed:
6.16.2-1.1Version impact unknown
nvd · python-pypdf · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11588-1.json]
- [https://github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa]
- [https://github.com/py-pdf/pypdf/pull/3944]
- [https://github.com/py-pdf/pypdf/releases/tag/6.15.0]
- [https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-71870]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-71870]
- [https://osv.dev/vulnerability/GHSA-fp3f-mc75-235c]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11588-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-71870]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71870.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]