CVE-2026-134129

high

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://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent

https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px

https://github.com/smalot/pdfparser/releases/tag/v2.14.0

https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137485

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

CVSS v4

Base Score: 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

Severity: High