NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
MEDIUM severity

CVE-2026-142644 — framework

MEDIUMFix: laravel/framework@77eafa5

CVE-2026-142644 is a medium-severity (CVSS 5.3) CWE-1333 vulnerability in laravel/framework. A fix is available for laravel/framework — see the affected versions and patch details below.

Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service

Also known asGHSA-h84h-g58v-xg2h
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Dec 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-142644.

Real-World Exposure

2 pkgs affected
🐘laravel/framework🐘laravel/framework

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistlaravel/framework≥ 13.0.0&&< 13.43.013.43.0composer require laravel/framework:^13.43.0
🐘Packagistlaravel/frameworkall versions12.73.0composer require laravel/framework:^12.73.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update laravel/framework to 13.43.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-142644 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

### 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 o
O3 Security · Impact-Aware SCA

Is CVE-2026-142644 in your dependencies?

Find it across Packagist, including transitive dependencies.