Description
Scriban before 7.2.0 contains a denial of service vulnerability in the array.insert_at function that allocates unbounded null entries without respecting LoopLimit or LimitToString constraints. Attackers can supply a large index parameter to trigger OutOfMemoryException and crash the host process in under a second.
Published: 2026-08-16
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Scriban before version 7.2.0 contains a denial of service flaw in the array.insert_at function. The function allocates null entries without respecting the LoopLimit or LimitToString constraints, meaning an attacker can supply an excessively large index. The outcome is an OutOfMemoryException that crashes the host process in less than a second, disrupting service availability. The weakness is a classic uncontrolled memory allocation (CWE‑770).

Affected Systems

The affected product is Scriban (scriban:scriban). All releases prior to 7.2.0 are vulnerable; any system that embeds Scriban before this version is at risk.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity denial of service. EPSS data is not reported, so the likelihood of exploitation is unknown, but the immediacy of the crash suggests that if an attacker can supply a large index parameter to the vulnerable function, the vulnerability can be abused immediately. The vulnerability is not listed in CISA’s KEV catalog.

Generated by OpenCVE AI on August 16, 2026 at 15:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Scriban 7.2.0 or later to eliminate the vulnerability.
  • If an upgrade is temporarily infeasible, ensure that any user‑supplied index values are validated against a reasonable maximum before calling array.insert_at.
  • Enforce Scriban’s LoopLimit and LimitToString settings to prevent large allocations, or quarantine untrusted template rendering in a sandboxed process.

Generated by OpenCVE AI on August 16, 2026 at 15:36 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.2.0 contains a denial of service vulnerability in the array.insert_at function that allocates unbounded null entries without respecting LoopLimit or LimitToString constraints. Attackers can supply a large index parameter to trigger OutOfMemoryException and crash the host process in under a second.
Title Scriban before 7.2.0 Denial of Service via array.insert_at
Weaknesses CWE-770
References
Metrics 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:10.514Z

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

Link: CVE-2026-74784

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:56.263

Modified: 2026-08-16T14:16:56.263

Link: CVE-2026-74784

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T15:45:16Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling