CVE-2026-137510
published high CVSS 4.0 · 8.7Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 7.6.0 (affected · semver) · 7.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| scriban | — | scriban0 to < 7.6.0 (affected · semver) · 7.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host memory.
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
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/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.6.0 (affected · semver)7.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| scriban | scriban | 0 to < 7.6.0 (affected · semver)7.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-400 Uncontrolled Resource Consumption
References
3- GitHub Security Advisory (GHSA-28wr-xhqr-9mf4) https://github.com/scriban/scriban/security/advisories/GHSA-28wr-xhqr-9mf4
- GitHub Security Advisory (GHSA-wmmr-qjc6-rp53) https://github.com/scriban/scriban/security/advisories/GHSA-wmmr-qjc6-rp53
- VulnCheck Advisory: Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-via-unguarded-string-and-html-builtins
Provider assertions
2VulnCheck · cna
Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eaddd6f61e048f0db53c3b9e0da11e848ffdd04a69c903350443c906dbc345a5
- Ingested
- 01 Dec 2026, 17:43:36 UTC
- Source record
- Official CVE record