CVE-2026-74792

Scriban before 7.0.0 Stack Overflow via nested array initializers

Published Aug 16, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Scriban
Scriban scriban
Vendors & Products Scriban
Scriban scriban
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 18, 2026, 2:08 PM
Reserved
Aug 16, 2026, 12:56 PM
Status
Deferred
Published
Aug 16, 2026, 2:16 PM
Modified
Sep 8, 2026, 8:32 PM