CVE-2026-74792 PUBLISHED

Scriban before 7.0.0 Stack Overflow via nested array initializers

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 16.08.2026 Updated: 16.08.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor scriban
Product scriban
Versions Default: unaffected
  • affected from 0 to 7.0.0 (excl.)
  • Version 7.0.0 is unaffected

Credits

  • pawlos reporter

References

Problem Types

  • Uncontrolled Recursion CWE