CVE-2026-22691
published low CVSS 4.0 · 2.7pypdf has possible long runtimes for malformed startxref
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.6.0 | Affected | Not stated | GitHub_M |
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for invalid startxref entries. When rebuilding the cross-reference table, PDF files with lots of whitespace characters become problematic. Only the non-strict reading mode is affected. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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.6.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
4Provider assertions
2GitHub_M · cna
pypdf has possible long runtimes for malformed startxref
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6101105061d30bee406a64094f6289852a3b3c503feb1f84e64562391efc8e84
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record