新着 / 2026年11月25日 / CVE-2026-133760
Symfony式パーサーの入力処理で処理時間が爆発し応答が止まる問題
掲載
何が問題か
Symfonyの式パーサーが、ネストした短縮三項演算子(?:)を含む式を解析する際、ノードのネスト深度チェックが全経路を再帰的に辿る実装だったため、処理時間が指数的に増大します。256バイト程度の式でも解析が終わらなくなると説明されています。変数や関数を使う必要はありません。修正では、チェック済みノードをスキップして線形時間に戻し、a の評価が一度だけ行われるように改められています。
悪用されると
信頼できない式を解析またはlintする処理(ExpressionSyntax検証制約を含む)を実行すると、処理が終わらずサービス停止(DoS)につながるおそれがあります。evaluate()やcompile()も先に式を解析するため同様に停止する可能性があります。
取るべき対応
影響を受けるバージョンのSymfonyを利用している場合は、修正を含む安定版へ更新してください。修正版は5.4.54、6.4.48、7.4.21、8.1.9以降と記載されています。利用者側では、信頼できない入力を式として解析する経路の見直しも検討してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 重要 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 0.5%(全体の上位 63.6%) |
| 問題の種類 | CWE-407 |
| CVE公開日 | 2026-11-25 |
出典
- NVD: CVE-2026-133760
- https://github.com/symfony/symfony/commit/58e9014c1fd91438e29b92dd67ecf1725faac29b
- https://github.com/symfony/symfony/security/advisories/GHSA-fvvg-g68p-p6q9
- https://symfony.com/cve-2026-133760
公式の説明(英語の原文)
The fix for CVE-2026-109449 made the expression parser check the nesting level of long expressions. This check exists since Symfony 5.4.54, 6.4.48, 7.4.21 and 8.1.9. The parser builds a ?: b with the node of a used twice, and the check walked every path to every node. With nested short ternaries, the number of paths doubles at each level, so an expression of 256 bytes never finished parsing. The expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the ExpressionSyntax validation constraint. evaluate() and compile() parse the expression first, so they hang too. The nesting check now skips the nodes it already checked, so it takes linear time again. evaluate(), compile() and the messages of runtime errors now use the node of a once, so a is evaluated once, as in PHP.