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

Published Nov 27, 2026
·
Updated

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 Software

1 affected component
packagist/smalot/pdfparser<2.14.0

Event History

Nov 27, 2026
CVE Published
via MITRE·06:30 PM
Data Sourced
via MITRE·06:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Event
via NVD·07:16 PM

Frequently Asked Questions

1

Which deployments are exposed?

Applications that process remotely supplied PDFs using smalot/pdfparser versions before 2.14.0 are exposed. PHP worker-based processing is specifically at risk of being stalled or exhausted during parsing.

2

What does an attacker need to exploit this issue?

An attacker needs to submit a crafted PDF containing deeply nested, unbalanced parentheses in a content-stream string. The supplied severity vector indicates no privileges or user interaction are required.

3

How can I determine whether an installation is affected?

Check the installed smalot/pdfparser version. Versions earlier than 2.14.0 are affected; version 2.14.0 is the referenced fixed release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203