Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| composer:laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 |
| composer:laravel/framework | < 12.73.0 | 12.73.0 |
The decimal validation rule counts decimal places with a regular expression that backtracks quadratically on certain input. A very long run of digits followed by an exponent (for example, a value ending in e5) passes the rule's is_numeric() check and then forces excessive regex backtracking before the match fails. Any application that validates a request field with the decimal rule is affected, with no non-default configuration. A single large request can consume several seconds of worker CPU,…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/04 06:08、GitHub Advisory Databaseが「Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: PHP、Laravel。CVE: CVE-2026-142644。