All vulnerabilities

Packagist

CVE-2026-134129

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

Severity
High 8.7
Published
27 Nov 2026
Last changed
28 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
2.14.0
Exploit chance
0.9% in the next 30 daysHigher than 55% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
smalot/pdfparserPackagist · osv:Packagist:smalot/pdfparser
  • Every version before 2.14.0

About smalot/pdfparser

Monthly downloads (Packagist)
6,683,935Packagist, 27 Nov 2026
Total downloads (Packagist)
62,026,399Packagist, 27 Nov 2026

This is the only vulnerability in smalot/pdfparser in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134129