{"id":9093,"date":"2026-09-04T18:50:14","date_gmt":"2026-09-04T10:50:14","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74788-2"},"modified":"2026-09-04T18:50:14","modified_gmt":"2026-09-04T10:50:14","slug":"cve-2026-74788-2","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74788-2","title":{"rendered":"CVE-2026-74788 [HIGH] &#8211; Scriban before 7.0.0 (affected versions"},"content":{"rendered":"<p>Scriban before 7.0.0 (affected versions &lt;= 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&#039;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scriban before 7.0.0 (affected versions<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-9093","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/9093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}