CVE-2026-142610: Laravel: Numeric validation can exhaust resources via extreme exponent input
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.
References
- github.com/advisories/GHSA-c25c-x5r7-2v5m
- github.com/laravel/framework/commit/bfb21ce13956c4ed4e38c3011d98bc96c509223d
- github.com/laravel/framework/commit/d3dfc8cfa8e6966febddfb7c8914fa6d8f39d1f5
- github.com/laravel/framework/pull/62589
- github.com/laravel/framework/pull/62590
- github.com/laravel/framework/releases/tag/v12.74.0
- github.com/laravel/framework/releases/tag/v13.44.1
- github.com/laravel/framework/security/advisories/GHSA-c25c-x5r7-2v5m
- nvd.nist.gov/vuln/detail/CVE-2026-142610
Code Behaviors & Features
Detect and mitigate CVE-2026-142610 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →