← VULNERABILITIES

CVE-2026-134129

smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()

High · 8.7Fix available
CVSS
8.7
EPSS
—
Published
2026-11-27
Age
21h old
Modified
2026-11-27
Product
smalot pdfparser
Aliases
GHSA-4w9h-57gf-h3px

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

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.

Fixed in

2.14.0

Affected packages

EcosystemPackageRangeFixed
vendorpdfparser>=0, <2.14.02.14.0

Sources

  • NVD · first seen 20h ago · NVD terms of use
  • OSV · first seen 19h ago · CC-BY 4.0
  • CVE List · first seen 21h ago · CVE Terms of Use

References

JSON