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.
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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

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

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-27T19:16:59.050

Modified: 2026-11-27T19:16:59.050

Link: CVE-2026-134129

cve-icon Redhat

No data.