# CVE-2026-137508: Scriban before 7.6.0 Memory Exhaustion DoS via object.to_json

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-26T16:00:57.355Z
- Modified: 2026-11-30T15:17:19.180Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- scriban scriban: before 7.6.0 (not affected: 7.6.0)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/scriban/scriban/security/advisories/GHSA-vqm7-rm7v-qq3f> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/scriban-before-7.6.0-memory-exhaustion-dos-via-object-to-json> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137508](https://www.cve.org/CVERecord?id=CVE-2026-137508), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-137508](https://nvd.nist.gov/vuln/detail/CVE-2026-137508), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137508 · Whole record: https://cve.day/CVE-2026-137508.json · Rebuilt by cve.day 2026-11-30T15:32:31.717Z
