CVE-2026-134129: smalot/pdfparser Algorithmic Complexity DoS
Published 2026-11-27 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — update smalot/pdfparser to 2.14.0 or later in your next patch cycle.
What to do
- Update smalot/pdfparser to version 2.14.0 or later. Versions before 2.14.0 are affected.
- Until it is patched, do not leave smalot/pdfparser reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Limit input size and apply request timeouts in front of the affected service.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| smalot/pdfparser | < 2.14.0 | 2.14.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Algorithmic Complexity DoS
Crafted input triggers worst-case processing time, tying up the service.
Classified as CWE-407.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38
- Patchhttps://github.com/smalot/pdfparser/releases/tag/v2.14.0
- Advisoryhttps://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px
- Advisoryhttps://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent