CVE-2026-142644
Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, The decimal validation rule counts decimal places with a regular expression that backtracks quadratically on certain input. A very long run of digits followed by an exponent (for example, a value ending in e5) passes the rule's is_numeric() check and then forces excessive regex backtracking before the match fails. Any application that validates a request field with the decimal rule is affected, with no non-default configuration. A single large request can consume several seconds of worker CPU, so a low rate of such requests can exhaust the PHP worker pool and cause denial of service. This issue is fixed in versions 13.43.0 and 12.73.0.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| framework laravel |
>= 13.0.0, < 13.43.0 (affected) < 12.73.0 (affected) |
CNA: GitHub_M |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CNA: GitHub_M |
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/laravel/framework/security/advisories/GHSA-h84h-g58v-xg2hCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/laravel/framework/pull/62420CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/pull/62421CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/commit/77eafa57acd2e5a9fb70d9d8f9a0619c81acc9e3CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/commit/aeaf7f9bddb349acb0532da1d4b5788080388ba1CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v12.73.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v13.43.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/commit/77eafa57acd2e5a9fb70d9d8f9a0619c81acc9e3[email protected]
- https://github.com/laravel/framework/commit/aeaf7f9bddb349acb0532da1d4b5788080388ba1[email protected]
- https://github.com/laravel/framework/pull/62420[email protected]
- https://github.com/laravel/framework/pull/62421[email protected]
- https://github.com/laravel/framework/releases/tag/v12.73.0[email protected]
- https://github.com/laravel/framework/releases/tag/v13.43.0[email protected]
- https://github.com/laravel/framework/security/advisories/GHSA-h84h-g58v-xg2h[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.