CVE-2026-134129
8.7high
smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| smalot pdfparser | before 2.14.0 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
| https://github.com/smalot/pdfparser/releases/tag/v2.14.0 | patch, release-notes | |
| https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px | exploit, technical-description, vendor-advisory | |
| https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38 | issue-tracking, patch | |
| https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-134129 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-134129 changed 2026-11-30 | Public domain |