Laravel: Numeric validation can exhaust resources via extreme exponent input
- CVE-2026-142610
- GHSA-c25c-x5r7-2v5m
- EUVD-2026-141936
Description
Laravel is a web application framework. Prior to 12.74.0 and 13.44.1, The multiple_of 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. This issue is fixed in versions 12.74.0 and 13.44.1.
Text from the CVE.org record.
Recommendation
laravel/framework
- If you run a version from 13.0.0 to before 13.44.1update to 13.44.1 or laterMinor version change: check the release noteslaravel/framework 13.44.1 on its registry (opens in a new tab)
- If you run a version before 12.74.0update to 12.74.0 or laterlaravel/framework 12.74.0 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
laravel framework
Affected versions Fixed in < 12.74.0 none stated >= 13.0.0, < 13.44.1 none stated laravel/frameworkPackagist
Affected versions Fixed in from 13.0.0 to before 13.44.1 13.44.1 before 12.74.0 12.74.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.