CVE-2026-137508 PUBLISHED

Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor scriban
Product scriban
Versions Default: unaffected
  • affected from 0 to 7.6.0 (excl.)
  • Version 7.6.0 is unaffected
Vendor scriban
Product scriban
Versions Default: unaffected
  • affected from 0 to 7.6.0 (excl.)
  • Version 7.6.0 is unaffected

References

Problem Types

  • Allocation of Resources Without Limits or Throttling CWE