CVE-2026-137508

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.
Configurations

No configuration.

History

30 Nov 2026, 15:17

Type Values Removed Values Added
References () https://github.com/scriban/scriban/security/advisories/GHSA-vqm7-rm7v-qq3f - () https://github.com/scriban/scriban/security/advisories/GHSA-vqm7-rm7v-qq3f -

26 Nov 2026, 16:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-26 16:18

Updated : 2026-11-30 15:17


NVD link : CVE-2026-137508

Mitre link : CVE-2026-137508

CVE.ORG link : CVE-2026-137508


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling