# GHSA-C25C-X5R7-2V5M: Numeric validation can exhaust resources via extreme exponent input

- Database: GitHub
- Severity: CVSS 7.5 (High)
- Published: 2026-11-25
- Modified: 2026-12-02

## Tracked as

- [CVE-2026-142610](https://cve.now/CVE-2026-142610.md): Laravel: Numeric validation can exhaust resources via extreme exponent input

## Affected versions

- laravel/framework (Packagist): fixed in 12.74.0
- laravel/framework (Packagist): fixed in 13.44.1

## Description

### 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.

## References

- https://github.com/laravel/framework/security/advisories/GHSA-c25c-x5r7-2v5m

Page: https://cve.now/GHSA-C25C-X5R7-2V5M

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
