CVE-2026-74786CWE-770denial-of-service

CVE-2026-74786

Medium · published August 16, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
40.1
In the wild
Unconfirmed
What it is

Scriban before 7.0.0 (affected versions <= 6.6.0) contains a denial-of-service vulnerability in which the LimitToString safety limit (default 1MB) can be bypassed because ObjectToString resets the per-call length counter (_currentToStringLength) on every top-level call and StringBuilderOutput enforces no cumulative output-size limit. An attacker who can supply a template can render a near-limit string repeatedly in a loop, allocating approximately 1GB of memory and causing an out-of-memory condition that crashes the host application.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
7.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00476 · 40.1th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2026-08-16T18:16Z
References (3)
EPSS history
Timeline
  • 16 AUG 13:14Z
    Scriban before 7.0.0 Denial of Service via Unbounded Template Output
    cvelistv5