{"id":"EUVD-2026-59954","revision":"cfc96e093ae64e799e8a8440203d5be5","records":[{"revision":"cfc96e093ae64e799e8a8440203d5be5","observedAt":"2026-11-11T16:06:34.447+00:00","statement":{"source":"euvd","id":"EUVD-2026-59954","aliases":["CVE-2026-74788","GHSA-3qxv-x8gq-wgff"],"title":"Scriban before 7.0.0 (affected versions <= 6.6.0) contains an uncontrolled memory allocation vulnerability in the string.pad_left and string.pad_right template functions, which perform no validation on the width parameter before delegating …","description":"Scriban before 7.0.0 (affected versions <= 6.6.0) contains an uncontrolled memory allocation vulnerability in the string.pad_left and string.pad_right template functions, which perform no validation on the width parameter before delegating to .NET's String.PadLeft/PadRight. When an application exposes Scriban to untrusted template input, an attacker can supply an arbitrarily large width value (e.g., 500,000,000) to trigger ~1GB memory allocations in a single call, resulting in OutOfMemoryException and denial of service. The TemplateContext.LimitToString limit does not prevent this because it is only enforced after the string has been fully allocated.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":8.7,"severity":null}],"references":["https://github.com/scriban/scriban/security/advisories/GHSA-v66j-x4hw-fv9g","https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-string-pad-left-pad-right"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-59954","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 16, 2026, 1:14:13 PM","dateUpdated":"Aug 17, 2026, 4:46:25 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-59954","identifiers":["EUVD-2026-59954","CVE-2026-74788","GHSA-3qxv-x8gq-wgff"]},"retained":false,"historicalAffected":[]}],"coverage":[]}