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.
Published: 2026-08-16
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stack overflow occurs when Scriban processes nested array initializers that are deeper than the engine’s internal recursion limit. The bug allows an attacker who can supply untrusted input to the Template.Parse method to trigger an uncatchable StackOverflowException. This exception terminates the process immediately, leading to an abrupt denial of service and potential loss of data or availability.

Affected Systems

The vulnerability affects Scriban versions up to and including 6.6.0. It is relevant to any deployment that incorporates the Scriban templating engine from the scriban:scriban product line running a pre‑7.0.0 release.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as high severity, and the lack of an EPSS score indicates no publicly available exploitation data yet. Because the flaw can be triggered by input provided to Template.Parse, it is inferred that an attacker could exploit it whenever untrusted data is parsed, potentially remotely. The vulnerability is listed in no KEV catalog, but the impact is a process crash rather than code execution, which still represents a critical availability threat.

Generated by OpenCVE AI on August 16, 2026 at 14:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Scriban to the 7.0.0 release or later, which resolves the recursion issue.
  • If upgrading is not possible, ensure that only validated or sanitized data is fed to Template.Parse, eliminating deeply nested array initializers or limiting input depth.
  • Restrict the usage of nested array initializers in application templates or enforce stricter input controls to avoid the recursion path.

Generated by OpenCVE AI on August 16, 2026 at 14:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title Scriban before 7.0.0 Stack Overflow via nested array initializers
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-16T13:14:15.706Z

Reserved: 2026-08-16T12:56:02.577Z

Link: CVE-2026-74792

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:57.317

Modified: 2026-08-16T14:16:57.317

Link: CVE-2026-74792

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T14:45:04Z

Weaknesses