CVE-2026-134129

7.5High

Published Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-407

What an attacker gets

Remote attackers can cause a denial of service by exhausting PHP worker resources. They only need to submit a crafted PDF file to an endpoint that processes user uploads.

Root cause

A regex-based string isolation loop in PDFObject::formatContent() exhibits quadratic time complexity when processing deeply nested parentheses.

Affected versions

smalot/pdfparser before 2.14.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to version 2.14.0 or later. If you cannot patch immediately, implement strict file size limits and timeout restrictions on your PHP workers to mitigate resource exhaustion.

remediation — bash
$ composer update smalot/pdfparser

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

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

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-134129

More fully triaged vulnerabilities you may want to check next.