← VULNERABILITIES

CVE-2026-137508

Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json

High · 8.7Fix available
CVSS
8.7
EPSS
0.80% (p53)
Published
2026-11-26
Age
2d old
Modified
2026-11-27
Product
scriban scriban
Aliases
GHSA-vqm7-rm7v-qq3f

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

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.

Fixed in

7.6.0

Affected packages

EcosystemPackageRangeFixed
vendorscriban>=0, <7.6.07.6.0

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • OSV · first seen 2d ago · CC-BY 4.0
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON