# CVE-2026-134129: smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-27T18:30:21.914Z
- Modified: 2026-11-30T18:18:31.367Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- smalot pdfparser: before 2.14.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px> (exploit, technical-description, vendor-advisory)
- <https://github.com/smalot/pdfparser/releases/tag/v2.14.0> (patch, release-notes)
- <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

- CVE List: [CVE-2026-134129](https://www.cve.org/CVERecord?id=CVE-2026-134129), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-134129](https://nvd.nist.gov/vuln/detail/CVE-2026-134129), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-134129 · Whole record: https://cve.day/CVE-2026-134129.json · Rebuilt by cve.day 2026-11-30T18:32:28.996Z
