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-115580 pypdf Fix available
- Ubuntu UBUNTU-CVE-2026-115580 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 attacker can craft a PDF with a standard cross-reference table whose declared entry count exceeds what the file can contain, causing excessive processing and long runtimes when the file is opened. 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