Laravel: Numeric validation can exhaust resources via extreme exponent input
High severity. Published 4 December 2026. Update laravel/framework to the fixed version of your branch (12.74.0, 13.44.1): composer update laravel/framework.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| laravel/framework (opens in a new tab) | < 12.74.0 | >= 13.0.0, < 13.44.1 | 12.74.0, 13.44.1 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show laravel/framework
composer auditAdvisory details
| Severity | HighCVSS 7.5 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-142610 (opens in a new tab) |
| GHSA | GHSA-c25c-x5r7-2v5m (opens in a new tab) |
| Weakness | CWE-770 |
What the advisory says
Impact
The multipleof validation rule, and the gt, gte, lt and lte rules when they compare against another numeric field, expand numeric input using arbitrary-precision arithmetic without bounding its exponent. A request containing a very small or very large exponent value, such as one in scientific notation, can cause excessive memory and CPU use and may exhaust PHP's memory limit. Applications are affected when these rules are applied to an unbounded numeric field, with no preceding bounding rule such as min, max or between combined with bail. Comparisons against literal numbers, and the min, max, between and size rules, are not affected.
Patches
Source: GHSA-c25c-x5r7-2v5m (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB (opens in a new tab) (medium, 3 December 2026)
- Laravel: Cross-Origin Auth Token Leakage Through Broadcasting JSONP Callback (opens in a new tab) (low, 3 December 2026)
- Laravel: Sanctum guard can resolve the lowest-ID user when evaluated inside an eager-loaded Eloquent relation definition (opens in a new tab) (medium, 3 December 2026)
- Laravel: Temporary signed URL expiration bypass (opens in a new tab) (medium, 3 December 2026)
- Laravel: File validation bypass via empty input field colliding with an upload in Request::all() (opens in a new tab) (medium, 3 December 2026)