CVE-2026-134129
smalot/pdfparser before 2.14.0 contains an inefficient algorithmic …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38
- github.com/smalot/pdfparser/releases/tag/v2.14.0
- github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px
- www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatc
- nvd.nist.gov/vuln/detail/CVE-2026-134129
- cve.org/CVERecord?id=CVE-2026-134129
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.