MEDIUMCVSS v3.1 5.3Vulnerability

CVE-2026-142644

### Impact 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. ### Patches The fix makes the regular expression's quantifiers possessive, which removes the backtracking without changing validation results. Fixes have been proposed for the 13.x and 12.x branches in https://github.com/laravel/framework/pull/62420 and https://github.com/laravel/framework/pull/62421. ### Workarounds Use the `bail` rule and order a size-limiting rule such as `max` or `digits_between` before `decimal`, so oversized values are rejected before the `decimal` rule runs.

Properties

Severity
medium
Summary
Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service
Nvd fetched at
2026-12-04T15:00:48.841578+00:00
Epss score
0.0059
Cvss severity
MEDIUM
Cvss score
5.3
Retrieved at
2026-12-04T15:02:58+00:00
Ghsa published
2026-12-03T21:08:03Z
Source url
https://github.com/advisories/GHSA-h84h-g58v-xg2h
Ghsa updated
2026-12-03T21:09:21Z
Ghsa id
GHSA-h84h-g58v-xg2h
Last source
FIRST EPSS
Score
5.3
Cvss version
3.1
Cve id
CVE-2026-142644
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
First seen by Signal
2026-12-03T02:46:42+00:00
Name
CVE-2026-142644
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Related Entities (3)

AFFECTS (1)

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-142644 (CVSS v3.1 5.3) — Ninja Signal Threat Intelligence | Ninja Signal