CVE-2026-134129
published high CVSS 4.0 · 8.7smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| smalot | — | pdfparser0 to < 2.14.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| smalot | pdfparser | 0 to < 2.14.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-407 Inefficient Algorithmic Complexity
References
4- Fix Commit https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38
- pdfparser v2.14.0 Release Notes https://github.com/smalot/pdfparser/releases/tag/v2.14.0
- GitHub Security Advisory (GHSA-4w9h-57gf-h3px) https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px
- VulnCheck Advisory: smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent() https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent
Provider assertions
2VulnCheck · cna
smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0d41b4563d0f41c9dbfa38b6ef088be969df639ced39dd4b278fd0f2c3f01d14
- Ingested
- 30 Nov 2026, 18:37:00 UTC
- Source record
- Official CVE record