pypdfに細工されたPDF画像で大量のメモリを消費させられる脆弱性
Summary
pypdfの7.0.1より前のバージョンには、画像の読み込み時にデータサイズの見積もりが不足する問題があり、細工されたPDFを処理させるとメモリを大量に消費してサービス拒否の状態を招くおそれがあります。CVSSv3は7.5、CVSSv4は8.7です。修正版の7.0.1が公開されているため、pypdfを7.0.1以降へ更新してください。
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の7.0.1より前のバージョンには、画像の読み込み時にデータサイズの見積もりが不足する問題があり、細工されたPDFを処理させるとメモリを大量に消費してサービス拒否の状態を招くおそれがあります。CVSSv3は7.5、CVSSv4は8.7です。修正版の7.0.1が公開されているため、pypdfを7.0.1以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| py-pdfpypdf |
< 7.0.1→ 7.0.1 |
7.0.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137549 pypdf Fix available
- Ubuntu UBUNTU-CVE-2026-137549 pypdf2, pypdf No fixed version in this record
Original description The description as published by the source.
pypdf before 7.0.1 contains a resource exhaustion vulnerability in image loading because data size estimates for some image modes are too low, defeating limits for filters without their own size limit. Attackers can craft a PDF whose images, when loaded, cause large memory usage and denial of service.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com