CVE-2026-74792
8.7
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| scriban | scriban | 0 < 7.0.0 | affected |
| scriban | scriban | 7.0.0 | unaffected |
Weaknesses
- CWE-674: Uncontrolled Recursion
References
- https://github.com/scriban/scriban/security/advisories/GHSA-p6q4-fgr8-vx4p
- https://www.vulncheck.com/advisories/scriban-before-stack-overflow-via-nested-array-initializers
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.