CVE-2026-137508

7.5High

Published Nov 26, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-770

What an attacker gets

Remote attackers can cause a denial of service by exhausting server memory. This requires the ability to provide or influence template input processed by the application.

Root cause

The object.to_json function fails to enforce string length limits when serializing data into a MemoryStream.

Affected versions

Scriban before 7.6.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to Scriban 7.6.0 or later. If you cannot upgrade, restrict untrusted users from submitting or modifying templates.

remediation — bash
$ dotnet add package Scriban --version 7.6.0

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Scriban before 7.6.0 contains a memory exhaustion vulnerability in object.to_json that allows template authors to bypass the LimitToString string length limit by serializing into an unbounded MemoryStream. Attackers can repeatedly apply object.to_json to escape-heavy strings in a tiny template, amplifying output to multi-gigabyte heap allocations and causing denial of service.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137508

More fully triaged vulnerabilities you may want to check next.