CVE-2026-27025
published medium CVSS 4.0 · 6.9pypdf has possible long runtimes/large memory usage for large /ToUnicode streams
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.7.1 | 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 | 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 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | 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 |
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the /ToUnicode entry of a font with unusually large values, for example during text extraction. This vulnerability is fixed in 6.7.1.
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.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-834 CWE-834: Excessive Iteration
References
4Provider assertions
2GitHub_M · cna
pypdf has possible long runtimes/large memory usage for large /ToUnicode streams
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 637e719218b8bb9dff8ec9ee5e62017b803f0dc590675fdca6924fb3f28ac66e
- Ingested
- 23 Sep 2026, 09:07:24 UTC
- Source record
- Official CVE record