{"id":"CVE-2026-134129","summary":"smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()","details":"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.","aliases":["GHSA-4w9h-57gf-h3px"],"modified":"2026-11-27T20:00:19.036177485Z","published":"2026-11-27T18:30:21.914Z","database_specific":{"cwe_ids":["CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134129.json","unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"2.14.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]},{"extracted_events":[{"range":[{"fixed":"2.14.0"}],"source":"DESCRIPTION"}]}],"cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134129.json"},{"type":"PACKAGE","url":"https://github.com/smalot/pdfparser"},{"type":"REPORT","url":"https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38"},{"type":"FIX","url":"https://github.com/smalot/pdfparser/releases/tag/v2.14.0"},{"type":"EVIDENCE","url":"https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134129"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/smalot/pdfparser","events":[{"introduced":"0"},{"fixed":"7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134129.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}