pypdfに細工したPDFを読ませるとメモリを大量消費される脆弱性
Summary
細工したPDFを読み込ませると、相互参照ストリームの仕組みを悪用されてメモリが大量に使われる脆弱性です。7.0.0より前のpypdfが影響を受け、修正版の7.0.0で対応しています。PDFを解析するアプリケーションでpypdfを使っている場合は、7.0.0以降へ更新してください。
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.
細工したPDFを読み込ませると、相互参照ストリームの仕組みを悪用されてメモリが大量に使われる脆弱性です。7.0.0より前のpypdfが影響を受け、修正版の7.0.0で対応しています。PDFを解析するアプリケーションでpypdfを使っている場合は、7.0.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| py-pdfpypdf |
< 7.0.0→ 7.0.0 |
7.0.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-134366 pypdf Fix available
- Ubuntu UBUNTU-CVE-2026-134366 pypdf2, pypdf No fixed version in this record
Original description The description as published by the source.
pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- REDHAT Red Hat
- web github.com