CVE-2026-134129
smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- —
- Published
- 2026-11-27
- Age
- 21h old
- Modified
- 2026-11-27
- Product
- smalot pdfparser
- Aliases
- GHSA-4w9h-57gf-h3px
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
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.
Fixed in
2.14.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | pdfparser | >=0, <2.14.0 | 2.14.0 |
Sources
- NVD · first seen 20h ago · NVD terms of use
- OSV · first seen 19h ago · CC-BY 4.0
- CVE List · first seen 21h ago · CVE Terms of Use
References
- https://github.com/smalot/pdfparser/releases/tag/v2.14.0 patch
- https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px vendor-advisory
- https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38 issue-tracking
- https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134129.json advisory
- https://github.com/smalot/pdfparser package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134129 advisory