Skip to content

CVE-2026-137508 Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json

HighCVSS 8.7 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nuget scriban < 7.6.0 7.6.0 Fixed
nuget Scriban.Signed < 7.6.0 7.6.0 Fixed

Affected products

ProductAffected versionsFixed in
nuget scriban < 7.6.0 7.6.0
nuget Scriban.Signed < 7.6.0 7.6.0

References