Skip to content
High 8.7

Scriban テンプレートの細工でメモリを使い果たされる脆弱性

CVE-2026-137510 First seen on SecPulse

Summary

Scribanの7.6.0より前のバージョンには、テンプレートに細工を施すと、文字列の長さ制限を回避して数GBものメモリを確保させられる脆弱性があります。小さなテンプレートを繰り返し実行されるだけで、ホストのメモリが枯渇するおそれがあります。影響を受けるのは7.6.0より前のScribanとScriban.Signedで、7.6.0が修正版です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Scribanの7.6.0より前のバージョンには、テンプレートに細工を施すと、文字列の長さ制限を回避して数GBものメモリを確保させられる脆弱性があります。小さなテンプレートを繰り返し実行されるだけで、ホストのメモリが枯渇するおそれがあります。影響を受けるのは7.6.0より前のScribanとScriban.Signedで、7.6.0が修正版です。

Affected packages

PackageAffected → Fixed
scribanscriban
< 7.6.0→ 7.6.0
Original description The description as published by the source.

Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64_encode, html.escape, html.newline_to_br, html.url_encode, and html.url_escape builtins lack allocation guards. An attacker who can supply a small template can repeatedly call these builtins under the default TemplateContext to force multi-gigabyte allocations and exhaust host memory.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details