Vulnerability GHSA-c25c-x5r7-2v5m

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
14 hours ago
December 04, 2026 at 12:07 AM UTC
Laravel: Numeric validation can exhaust resources via extreme exponent input
4.0.0-BETA2 - 12.73.0 and 13.0.0 - 13.44.0
4.0.0-BETA2 - 12.73.0 and 13.0.0 - 13.44.0

Summary

Laravel: Numeric validation can exhaust resources via extreme exponent input

Details

Impact

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.

Patches

The fix applies the framework's existing exponent range guard to these rules. It has been merged to the 12.x and 13.x branches: https://github.com/laravel/framework/pull/62589 and https://github.com/laravel/framework/pull/62590.

Workarounds

Bound the value before the affected rule and stop on failure, for example bail|numeric|min:0|max:100|multiple_of:2. Setting a low PHP memory limit can also make PHP stop early with a fatal error.

Impacted packages

Timeline

Published
14 hours ago
December 04, 2026 at 12:07 AM UTC
Fixed (13.44.1)
9 days ago
November 24, 2026 at 04:10 PM UTC
Fixed (12.74.0)
9 days ago
November 24, 2026 at 04:20 PM UTC
Last Modified
14 hours ago
December 04, 2026 at 12:15 AM UTC