P2 · HighCVSS 7.5EPSS 0.8%
Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json
- CVE-2026-137508
- GHSA-g3jp-j3xh-3wgj
- EUVD-2026-136569
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.
Text from the CVE.org record.
Recommendation
scriban
- If you run a version before 7.6.0update to 7.6.0 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
scriban
Affected versions Fixed in before 7.6.0 7.6.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.