← VULNERABILITIES

CVE-2026-137510

Scriban before 7.6.0 Memory Exhaustion via Unguarded String and HTML Builtins

High · 8.7Fix available
CVSS
8.7
EPSS
0.99% (p61)
Published
2026-11-26
Age
2d old
Modified
2026-11-27
Product
scriban scriban

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

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.

Fixed in

7.6.0

Affected packages

EcosystemPackageRangeFixed
vendorscriban>=0, <7.6.07.6.0

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • OSV · first seen 2d ago · CC-BY 4.0
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON