pypdf細工されたPDFの相互参照処理で実行時間が長くなる
Summary
pypdfは、細工された相互参照ストリームを含むPDFを処理すると、解析に非常に長い時間がかかる問題が見つかりました。6.21.2より前のバージョンが影響を受け、修正版の6.21.2で対処されています。pypdfを6.21.2以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pypdfは、細工された相互参照ストリームを含むPDFを処理すると、解析に非常に長い時間がかかる問題が見つかりました。6.21.2より前のバージョンが影響を受け、修正版の6.21.2で対処されています。pypdfを6.21.2以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| py-pdfpypdf | — | Not listed |
| pippypdf |
< 6.21.2→ 6.21.2 |
6.21.2 |
| PyPIpypdf |
< 6.21.2→ 6.21.2 |
6.21.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115585 pypdf Fix available
- Ubuntu UBUNTU-CVE-2026-115585 pypdf No fixed version in this record
Original description The description as published by the source.
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an incomplete remediation for repeated malformed cross-reference entries in GHSA-55h5-xmcq-c37v could still trigger a complete PDF stream reload during each recovery attempt even when a recovery cache was present, causing crafted cross-reference streams to produce long runtimes. This issue is fixed in version 6.21.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com