Description
Scriban before 7.5.3 contains a resource exhaustion vulnerability that allows untrusted template authors to exhaust memory and CPU because builtins like math.format, regex.replace and string.escape skip the LimitToString allocation guard. Attackers can submit small templates using huge format precision specifiers, shared-structure array comparison, BigInteger multiplication or exponential function recursion that ignore LoopLimit and CancellationToken, crashing or stalling multi-tenant hosts.
Published: 2026-11-08
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Scriban releases prior to 7.5.3 contain a resource exhaustion flaw that allows untrusted template authors to deplete memory and CPU. The vulnerability stems from builtins such as math.format, regex.replace, and string.escape bypassing allocation guards, enabling attackers to craft small templates with massive format precision, shared‑structure array comparisons, BigInteger multiplication, or exponential recursion. These inputs ignore LoopLimit and CancellationToken, leading to crashes or prolonged stalling of the application.

Affected Systems

The affected product is the Scriban templating library under the scriban vendor, specifically all releases older than version 7.5.3. Applications that depend on these libraries should verify their installed version and ensure it is 7.5.3 or newer.

Risk and Exploitability

The flaw is rated with a CVSS score of 8.7, indicating a high severity denial‑of‑service risk. No EPSS score is provided, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector involves an attacker who can supply or inject user‑controlled template code into the Scriban engine—commonly through web forms, API inputs, or configuration files—in a multi‑tenant hosting environment, potentially crashing or degrading the host service.

Generated by OpenCVE AI on November 8, 2026 at 14:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Scriban library to version 7.5.3 or later to remove the unguarded builtins that trigger the resource exhaustion.
  • If an upgrade is not immediately possible, reconfigure the templating environment to disable or restrict the vulnerable builtins (math.format, regex.replace, string.escape) and enforce strict LoopLimit and CancellationToken constraints.
  • Implement application‑level resource limits or timeouts for template rendering and monitor performance logs for signs of excessive memory or CPU usage.

Generated by OpenCVE AI on November 8, 2026 at 14:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
Description Scriban before 7.5.3 contains a resource exhaustion vulnerability that allows untrusted template authors to exhaust memory and CPU because builtins like math.format, regex.replace and string.escape skip the LimitToString allocation guard. Attackers can submit small templates using huge format precision specifiers, shared-structure array comparison, BigInteger multiplication or exponential function recursion that ignore LoopLimit and CancellationToken, crashing or stalling multi-tenant hosts.
Title Scriban before 7.5.3 Denial of Service via Unguarded Builtins and Recursion
Weaknesses CWE-400
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-11-08T13:15:31.634Z

Reserved: 2026-11-08T02:13:42.362Z

Link: CVE-2026-124437

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:10.163

Modified: 2026-11-08T14:18:10.163

Link: CVE-2026-124437

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T14:30:16Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption