All vulnerabilities

Servers and applications

GHSA-c25c-x5r7-2v5m

Numeric validation can exhaust resources via extreme exponent input

Severity
High 7.5
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
12.74.0, 13.44.1
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

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.

From laravel/framework's security advisory.

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.

Workarounds as given by laravel/framework's security advisory.

Affected software

SoftwareAffected versions
LaravelServers and applications · github:laravel/framework
  • Every version before 12.74.0
  • Every version before 13.44.1

About Laravel

open source web application framework, written in PHP

From Wikidata, CC0 1.0.
Developers who used it in the past year
8.9%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
26,590,293Packagist, 22 Nov 2026
Total downloads (Packagist)
629,731,139Packagist, 22 Nov 2026
GitHub stars
35,034GitHub, 22 Nov 2026
Forks
12,046GitHub, 22 Nov 2026
Latest release
v13.43.0GitHub, 22 Nov 2026
Released
17 Nov 2026GitHub
Developer
Taylor OtwellWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
9 Jun 2011Wikidata
First published on GitHub
10 Jan 2013GitHub

Release lines

ReleaseLatestSecurity fixes
1313.43.0Until 17 Mar 2028
1212.73.0Until 24 Feb 2027
1111.57.1Ended 12 Mar 2026
1010.50.4Ended 4 Feb 2025
99.52.23Ended 6 Feb 2024
88.83.29Ended 24 Jan 2023

From endoflife.date.

References