CVE-2026-71870Py-pdf Pypdf
Medium 4.8
Follow: this CVE · Py-pdf · Py-pdf Pypdf We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 4.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 7, 2026
- Updated
- Nov 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Pypdf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pypdf |
< 6.15.0 |
6.15.0 |
pip install "pypdf>=6.15.0" |
| PyPI | pypdf |
< 6.15.0 |
6.15.0 |
pip install "pypdf>=6.15.0" |
Per OSV / GitHub Advisories (GHSA-fp3f-mc75-235c, PYSEC-2026-3655). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| py-pdf | pypdf | < 6.15.0 |
Official advisories
- python313-pypdf-6.16.2-1.1 on GA media · SUSE · openSUSE-SU-2026:11588-1 · Aug 24, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Patch Vendor Advisory