Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json

State
Published
Severity
8.7 High
Published
Nov 26, 2026
Updated
Nov 30, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

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.

ProductVersions
scriban scribanbefore 7.6.0 Affected7.6.0 Not Affected
scriban scribanbefore 7.6.0 Affected7.6.0 Not Affected

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.