CVE-2026-137508
published high CVSS 4.0 · 8.7Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 7.6.0 (affected · semver) · 7.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| scriban | — | scriban0 to < 7.6.0 (affected · semver) · 7.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Scriban before 7.6.0 contains a memory exhaustion vulnerability in object.to_json that allows template authors to bypass the LimitToString string length limit by serializing into an unbounded MemoryStream. Attackers can repeatedly apply object.to_json to escape-heavy strings in a tiny template, amplifying output to multi-gigabyte heap allocations and causing denial of service.
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
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 | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scriban | scriban | 0 to < 7.6.0 (affected · semver)7.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| scriban | scriban | 0 to < 7.6.0 (affected · semver)7.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-770 Allocation of Resources Without Limits or Throttling
References
2- GitHub Security Advisory (GHSA-vqm7-rm7v-qq3f) https://github.com/scriban/scriban/security/advisories/GHSA-vqm7-rm7v-qq3f
- VulnCheck Advisory: Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-dos-via-object-to-json
Provider assertions
2VulnCheck · cna
Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 46b0f1f8cd1a1d8ed2ef651b2c707ad52aff8519a8ea4989b80b3ad2fe21a0c0
- Ingested
- 30 Nov 2026, 18:37:20 UTC
- Source record
- Official CVE record