What is CVE-2026-74788?
Scriban versions before 7.0.0 (<=6.6.0) contain an uncontrolled memory allocation vulnerability in string.pad_left/pad_right functions due to missing validation of the width parameter before passing to .NET String.PadLeft/PadRight. Affected applications should restrict user-controlled inputs or update Scriban to version 7.0.0 or later.
Azərbaycanca: Scriban <7.0.0 (<=6.6.0) versiyalarında string.pad_left/pad_right funksiyalarında yoxlanılmamış width parametri səbəbindən nəzarətsiz yaddaş ayırma (uncontrolled memory allocation) zəifliyi mövcuddur; bu, .NET String.PadLeft/PadRight metodlarına ötürülmədən əvvəl daxilolma yoxlaması aparılmamasından qaynaqlanır. Təsirə məruz qalan proqramlar istifadəçidən alınan daxilolmaları məhdudlaşdırmalı və ya Scriban kitabxanasını 7.0.0 və ya daha yuxarı versiyaya yeniləməlidir.
Related CVEs
link basis: same weakness class CWE-400
FAQ2
In which Scriban functions does CVE-2026-74788 exist?
The vulnerability exists in the string.pad_left/pad_right functions due to missing validation of the width parameter.
To which version should Scriban be updated to remediate CVE-2026-74788?
Scriban should be updated to version 7.0.0 or later.
See also6
This explainer is AI-written from source data — skopnix's own reporting on this CVE; CVSS scores, vendors and versions are never invented. See NVD for the official record.