pypdfに無限ループの脆弱性、不完全なPDFでサービス停止のおそれ
Summary
pypdfの6.21.4より前のバージョンでは、末尾(トレーラー)のない不完全なPDFを開くと、処理が無限ループに陥るおそれがあります。処理スレッドが止まり、PDFを処理するサービスが応答しなくなる可能性があります。修正版は6.21.4で、利用中のpypdfを6.21.4以上に更新してください。
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の6.21.4より前のバージョンでは、末尾(トレーラー)のない不完全なPDFを開くと、処理が無限ループに陥るおそれがあります。処理スレッドが止まり、PDFを処理するサービスが応答しなくなる可能性があります。修正版は6.21.4で、利用中のpypdfを6.21.4以上に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| py-pdfpypdf | — | Not listed |
| pippypdf |
< 6.21.4→ 6.21.4 |
6.21.4 |
| PyPIpypdf |
< 6.21.4→ 6.21.4 |
6.21.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-119203 pypdf Fix available
- Ubuntu UBUNTU-CVE-2026-119203 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.4, pypdf can enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. This issue is fixed in version 6.21.4.
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