pypdfにXFAフォームの処理でメモリを大量消費される脆弱性
Summary
pypdfのXFAフォーム処理に、細かいフィールドを大量に含むPDFを読み込むとメモリを過剰に消費し、サービス妨害(DoS)が起きる脆弱性が見つかりました。影響を受けるのは2.4.2以上7.0.0未満の版で、修正版は7.0.0です。PDFを処理するシステムでは、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.
pypdfのXFAフォーム処理に、細かいフィールドを大量に含むPDFを読み込むとメモリを過剰に消費し、サービス妨害(DoS)が起きる脆弱性が見つかりました。影響を受けるのは2.4.2以上7.0.0未満の版で、修正版は7.0.0です。PDFを処理するシステムでは、7.0.0への更新を急ぐ必要があるか確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| py-pdfpypdf |
≥ 2.4.2, < 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-134367 pypdf Fix available
- Ubuntu UBUNTU-CVE-2026-134367 pypdf2, pypdf No fixed version in this record
Original description The description as published by the source.
pypdf 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows attackers to cause excessive memory consumption. Attackers can supply a crafted PDF containing XFA forms with many small fields so that loading the forms consumes large amounts of memory, causing a 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
- REDHAT Red Hat
- web github.com