Laravel numeric validation rules exhaust server resources
CVE-2026-142610
Sending huge numbers to a web form check can slow or stall the server.
- CVE
- CVE-2026-142610(新しいタブで開きます)
- スコア
- CVSS 7.5
- 初確認
対処法
Update to Laravel 12.74.0 or 13.44.1. Until then, put a bounding rule such as bail|numeric|min:0|max:100 before the affected rule. A low PHP memory limit can also make PHP stop early with a fatal error.
お使いの製品に合ったバージョン以降に更新してください:
- Laravel framework 12 12.74.0 以降
- Laravel framework 13 13.44.1 以降
すぐに更新できない場合:
設定ファイルにこの行を追加してください:
bail|numeric|min:0|max:100|multiple_of:2
設定を誤るとサービスが止まったり、接続できなくなったりすることがあります。変更する前に下の原文リンクを確認してください。
要約
The multiple_of rule and the gt, gte, lt and lte rules that compare against another numeric field expand extreme exponent input without limit, using excessive memory and CPU. Laravel applications that apply these rules to an unbounded numeric field are affected.
該当する条件
- multiple_of or a comparison against another field applied to an unbounded numeric field
- no bounding rule such as min, max or between placed before it
製品別のインシデント: Laravel framework
Laravel framework のほかの最近のインシデント
勧告を読む · github.com(新しいタブで開きます)
- セキュリティ勧告: github.com(新しいタブで開きます)
- CVE レコード: cve.org(新しいタブで開きます)