製品・ソフトウェアに関する情報
symfonyのtwigにおけるリソースの枯渇に関する脆弱性
Title symfonyのtwigにおけるリソースの枯渇に関する脆弱性
Summary

TwigはPHPのテンプレート言語です。バージョン3.26.0以前では、Twigのサンドボックスは最も厳しい許可リストが適用されている場合でも、テンプレートがCPU、メモリ、または経過時間を消費するのを防止できず、信頼できないテンプレートがリソース枯渇を引き起こす可能性がありました。この問題は、バージョン3.26.0でサンドボックスがリソース枯渇を防止しないことを文書で明確に示すことで対処されています。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 14, 2026, midnight
Registration Date July 17, 2026, 11:17 a.m.
Last Update July 17, 2026, 11:17 a.m.
CVSS3.0 : 警告
Score 6.5
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
symfony
twig 3.26.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年07月17日]
  掲載
July 17, 2026, 11:17 a.m.

NVD Vulnerability Information
CVE-2026-46627
Summary

Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to cause resource exhaustion. This issue is addressed in version 3.26.0 by documenting that the sandbox does not protect against resource exhaustion.

Publication Date July 15, 2026, 7:16 a.m.
Registration Date July 16, 2026, 4:25 a.m.
Last Update July 17, 2026, 1:19 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* 3.26.0
Related information, measures and tools
Common Vulnerabilities List