Skip to content
High 8.7

Scribanに細工したテンプレートでサービス不能に陥る脆弱性

CVE-2026-137508 First seen on SecPulse

Summary

Scribanの7.6.0より前のバージョンには、object.to_jsonの処理でメモリを使い切られる脆弱性があります。テンプレートを作成できる利用者が、わずかな記述で数GBのメモリ確保を繰り返し引き起こし、サービスを停止させるおそれがあります。修正版の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より前のバージョンには、object.to_jsonの処理でメモリを使い切られる脆弱性があります。テンプレートを作成できる利用者が、わずかな記述で数GBのメモリ確保を繰り返し引き起こし、サービスを停止させるおそれがあります。修正版の7.6.0以降に更新してください。

Affected packages

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

Scriban before 7.6.0 contains a memory exhaustion vulnerability in object.to_json that allows template authors to bypass the LimitToString string length limit by serializing into an unbounded MemoryStream. Attackers can repeatedly apply object.to_json to escape-heavy strings in a tiny template, amplifying output to multi-gigabyte heap allocations and causing denial of service.

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