CVE-2026-137508 Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json
HighCVSS 8.7
EPSS 0.80%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuget scriban | < 7.6.0 | 7.6.0 | Fixed |
| nuget Scriban.Signed | < 7.6.0 | 7.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget scriban | < 7.6.0 | 7.6.0 |
| nuget Scriban.Signed | < 7.6.0 | 7.6.0 |
References
- GitHub Security Advisory (GHSA-vqm7-rm7v-qq3f) exploit vendor-advisory
- VulnCheck Advisory: Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json third-party-advisory
- ENISA EUVD EUVD-2026-136569 third-party-advisory