CVE-2026-41313
published medium CVSS 4.0 · 4.8pypdf: Possible long runtimes for wrong size values in incremental mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.10.2 | Affected | Not stated | GitHub_M |
Description
pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to long runtimes. This requires loading a PDF with a large trailer `/Size` value in incremental mode. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.
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
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.10.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-834 CWE-834: Excessive Iteration
References
4Provider assertions
2GitHub_M · cna
pypdf: Possible long runtimes for wrong size values in incremental mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3a47d740aed87f19d725fd0390cf7af16874b928fdd4ad199e28be2af33cebec
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record