smalot/pdfparserに細工したPDFで処理を長時間止められる脆弱性
Summary
smalot/pdfparserの2.14.0より前のバージョンには、細工したPDFを読み込ませると処理が極端に遅くなり、サービス妨害(DoS)の状態になる脆弱性(CVE-2026-134129)があります。小さなPDFでも数秒から数分にわたりPHPのワーカーを占有されるおそれがあるため、PDFを扱うシステムでは急いで対応する必要があるでしょう。修正版の2.14.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.
smalot/pdfparserの2.14.0より前のバージョンには、細工したPDFを読み込ませると処理が極端に遅くなり、サービス妨害(DoS)の状態になる脆弱性(CVE-2026-134129)があります。小さなPDFでも数秒から数分にわたりPHPのワーカーを占有されるおそれがあるため、PDFを扱うシステムでは急いで対応する必要があるでしょう。修正版の2.14.0が公開されているので、更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| smalotpdfparser |
< 2.14.0→ 2.14.0 |
2.14.0 |
Original description The description as published by the source.
smalot/pdfparser before 2.14.0 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause a denial of service by submitting a crafted PDF with deeply nested unbalanced parentheses in a content-stream string. Attackers can exploit the regex-based string isolation loop in PDFObject::formatContent(), which rescans growing content on each pass to produce O(n^2) processing time, causing a small PDF to stall or exhaust PHP worker resources for seconds to minutes.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- report github.com