Security mailing lists by PureSourceCode

CVE-2026-74786

HIGH 7.1CVSS 4.0

Scriban: Denial of Service via Unbounded Cumulative Template Output Bypassing LimitToString

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.

Published
16 Aug 2026
Last modified
31 Aug 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-770
Also known as
GHSA-m2p3-hwv5-xpqw
Sources
NVDJSONOSV GHSA-m2p3-hwv5-xpqwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 7.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV NuGet Scriban < 7.0.0 7.0.0
OSV NuGet Scriban.Signed < 7.0.0 7.0.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 16 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.