CVE-2026-137508
8.7high
Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.80% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| scriban scriban | before 7.6.0 Not affected: 7.6.0 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
| https://github.com/scriban/scriban/security/advisories/GHSA-vqm7-rm7v-qq3f | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-dos-via-object-to-json | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137508 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-137508 changed 2026-11-30 | Public domain |