CVE-2026-74786
published high CVSS 4.0 · 7.1Scriban before 7.0.0 Denial of Service via Unbounded Template Output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 7.0.0 (affected · semver) · 7.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scriban | scriban | 0 to < 7.0.0 (affected · semver)7.0.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-770 Allocation of Resources Without Limits or Throttling
References
2- GitHub Security Advisory (GHSA-m2p3-hwv5-xpqw) https://github.com/scriban/scriban/security/advisories/GHSA-m2p3-hwv5-xpqw
- VulnCheck Advisory: Scriban before 7.0.0 Denial of Service via Unbounded Template Output https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-unbounded-template-output
Provider assertions
2VulnCheck · cna
Scriban before 7.0.0 Denial of Service via Unbounded Template Output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a8100a2cc65e5c2914343aec497d1c5ce98754f9a894c384ab526fcb8b505ab2
- Ingested
- 23 Sep 2026, 09:31:28 UTC
- Source record
- Official CVE record