Skip to content
smalot/pdfparser before 2.14.0 Vulnerable to PDF-Triggered Denial of Service (CVE-2026-134129)

smalot/pdfparser before 2.14.0 Vulnerable to PDF-Triggered Denial of Service (CVE-2026-134129)

First seen 28 Nov 2026, 07:49 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 28, 2026 at 07:50 UTC
  • •smalot/pdfparser before 2.14.0 is vulnerable to a denial of service via crafted PDF content streams (CVE-2026-134129, CVSS 8.7).
  • •Root cause is O(n²) regex-based string isolation in PDFObject::formatContent(), per the GitHub advisory.
  • •Impact is availability only: a small PDF can stall a PHP worker for seconds to minutes.
  • •Fixed in version 2.14.0; until upgrade, restrict untrusted-file parsing and apply upload limits and per-source rate limits.
  • •No active exploitation or KEV listing is reported in the available sources.

CVE-2026-134129 affects smalot/pdfparser versions before 2.14.0 and is rated CVSS 8.7 (HIGH), with the CVE record published 2026-11-27.

Redpacketsecurity reports that a crafted PDF with deeply nested or unbalanced parentheses in a content-stream string can cause O(n²) processing time in the regex-based string isolation loop in PDFObject::formatContent().

According to the GitHub advisory, a small PDF can tie up a PHP worker for seconds to minutes when getText() or getTextArray() is called.

The advisory states the content stream is fully controlled by whoever supplies the PDF and that the code is reachable from the public text extraction API. The impact is availability only, affecting applications that parse untrusted PDFs such as upload, preview, or email-attachment handlers.

Redpacketsecurity states the available data does not establish active exploitation, and KEV, EPSS, and PoC status were not provided. The fix is in version 2.14.0.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-27
CVE-2026-134129 published
CVE record published with CVSS 8.7 rating for smalot/pdfparser before 2.14.0.
Redpacketsecurity
2026-11-28
GitHub advisory GHSA-4w9h-57gf-h3px published
Advisory details the O(n²) string isolation loop and states the fix is in 2.14.0.
github.com

More articles in this cluster (3)

Following this threat?

Track CVE-2026-134129 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
You are affected if you use smalot/pdfparser before version 2.14.0 and parse untrusted PDFs, for example via uploads or attachments.
Is this being exploited?
The available sources do not report active exploitation, KEV listing, or public proof-of-concept code.
What should we do first?
Upgrade to smalot/pdfparser 2.14.0 or later. Until then, cap upload size, set parsing timeouts, and limit concurrency and per-source request rates.