Skip to content
OpenAdvisories
High · 7.5 CVE-2026-74792 EUVD-2026-59958GHSA-6g73-98rg-crm7GHSA-p6q4-fgr8-vx4p

Scriban before 7.0.0 Stack Overflow via nested array initializers

Published Aug 16, 2026 · Updated Aug 18, 2026 · Assigned by VulnCheck

Description

Scriban before 7.0.0 (affected versions <= 6.6.0) contains a stack overflow vulnerability in nested array initializer parsing. Deeply nested array initializers recurse through a path (ParseArrayInitializer → ParseExpression → ParseArrayInitializer) that is not covered by the ExpressionDepthLimit counter added in the fix for GHSA-wgh7-7m3c-fx25. An attacker who can supply untrusted input to Template.Parse can trigger an uncatchable StackOverflowException that immediately terminates the process, even with the default ExpressionDepthLimit enabled.

Affected products

VendorProductAffectedFixed
scriban scriban < 7.0.0 7.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Scriban < 7.0.0 7.0.0 GHSA-p6q4-fgr8-vx4p
NuGet Scriban.Signed < 7.0.0 7.0.0 GHSA-p6q4-fgr8-vx4p

References