CVE-2026-134129
7.5HighPublished Nov 27, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ composer update smalot/pdfparserAI-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
- https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38
- https://github.com/smalot/pdfparser/releases/tag/v2.14.0
- https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px
- https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381637.8HighAttackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to load a crafted backup file into Gammu.
- CVE-2026-1381627.0HighAttackers can execute arbitrary code or crash the application by providing a crafted backup file. This requires a user to perform a restore or addnew operation on an attached Alcatel phone.
- CVE-2026-1381617.8HighAttackers can achieve code execution by providing a crafted backup file with an overlong MD5 value. This requires a user to process a malicious file using convertbackup or restore.
- CVE-2026-1381607.8HighAttackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to trigger a restore or backup process with a crafted file.
- CVE-2026-1381597.5HighRemote attackers can execute arbitrary code or crash the application by sending a response body larger than 2 GB. This requires a user to browse to an attacker-controlled HTTP, FTP, or gopher server.
- CVE-2026-1381548.6HighAttackers can execute arbitrary code on your machine as the current user. This requires a user to subscribe to a malicious Steam Workshop mod.