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.
Metrics
Affected Vendors & Products
References
History
Fri, 27 Nov 2026 22:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Smalot
Smalot pdfparser |
|
| Vendors & Products |
Smalot
Smalot pdfparser |
Fri, 27 Nov 2026 18:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent() | |
| Weaknesses | CWE-407 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-11-27T18:30:21.914Z
Updated: 2026-11-27T18:30:21.914Z
Reserved: 2026-11-20T21:04:59.384Z
Link: CVE-2026-134129
No data.
Status : Received
Published: 2026-11-27T19:16:59.050
Modified: 2026-11-27T19:16:59.050
Link: CVE-2026-134129
No data.