{"id":"CVE-2026-134129","aliases":["GHSA-4w9h-57gf-h3px"],"title":"smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()","originalDescription":"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.","severity":{"cvss":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"pdfparser","range":">=0, <2.14.0","fixed":"2.14.0"}],"references":[{"url":"https://github.com/smalot/pdfparser/releases/tag/v2.14.0","type":"patch"},{"url":"https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px","type":"vendor-advisory"},{"url":"https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38","type":"issue-tracking"},{"url":"https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134129.json","type":"advisory"},{"url":"https://github.com/smalot/pdfparser","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134129","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T19:45:15.952Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134129","license":"NVD terms of use","firstSeenAt":"2026-11-27T19:45:15.952Z"},{"name":"osv","at":"2026-11-28T12:15:42.430Z","url":"https://osv.dev/vulnerability/CVE-2026-134129","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T20:18:37.902Z"},{"name":"cvelistV5","at":"2026-11-28T14:58:03.631Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134129","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T18:36:34.385Z"}],"firstSeenAt":"2026-11-27T18:36:34.385Z","publishedAt":"2026-11-27T18:30:21.914Z","modifiedAt":"2026-11-27T22:00:12.297Z"}