Vulnerability DatabaseCVE-2026-142644

CVE-2026-142644: 
Laravel vulnerability analysis and mitigation

Overview

CVE-2026-142644 is a ReDoS (Regular Expression Denial of Service) vulnerability in the Laravel web application framework's decimal validation rule. The flaw causes quadratic regex backtracking on specially crafted input, allowing unauthenticated remote attackers to exhaust PHP worker CPU resources and cause denial of service. It affects Laravel framework versions prior to 12.73.0 (all 12.x releases) and versions 13.0.0 through 13.42.x (prior to 13.43.0). The advisory was published on December 2, 2026, with patches merged on November 11, 2026. The CVSS v3.1 base score is 5.3 (Medium) (GitHub Advisory).

Technical details

The root cause is classified as CWE-1333 (Inefficient Regular Expression Complexity). The vulnerable validateDecimal() method in src/Illuminate/Validation/Concerns/ValidatesAttributes.php uses the regex /^[+-]?\d*\.?(\d*)$/ to count decimal places. When input contains no decimal dot, the two \d* quantifiers (\d* and (\d*)) can match the same digit sequence in overlapping ways; if the overall match then fails (e.g., due to a trailing exponent like e5), PCRE retries every possible split of the digit run before giving up, resulting in quadratic backtracking. A crafted value such as a long digit string followed by e5 passes the preceding is_numeric() check but triggers this backtracking, consuming several seconds of CPU per request. No non-default configuration is required — any application using the decimal validation rule is affected (GitHub Advisory, PR #62420).

Impact

Successful exploitation results in a denial of service against the PHP worker pool of the affected Laravel application. Because a single malicious request can consume several seconds of CPU time, a low-rate stream of such requests is sufficient to exhaust all available PHP-FPM or similar workers, rendering the application unavailable to legitimate users. There is no impact on confidentiality or data integrity — the vulnerability is purely an availability issue (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires no authentication, no special privileges, and no user interaction — an attacker only needs to send HTTP requests containing a crafted field value to any endpoint that applies the decimal validation rule (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify Laravel applications that expose endpoints accepting user-supplied numeric input validated with the decimal rule (e.g., price, quantity, or measurement fields in forms or APIs).
  2. Craft malicious payload: Construct an input value consisting of a very long run of digits followed by an exponent suffix, such as 999999999999999999999999999999999999999999999999999999999999e5. This value passes is_numeric() but triggers quadratic PCRE backtracking in the decimal regex.
  3. Submit requests: Send HTTP POST or GET requests to the target endpoint with the crafted value in the field subject to decimal validation. Each request may consume several seconds of PHP worker CPU time.
  4. Sustain low-rate flood: Repeat at a low rate (e.g., a few requests per second) to progressively exhaust the PHP worker pool, causing the application to become unresponsive to legitimate traffic (GitHub Advisory, PR #62420).

Indicators of compromise

  • Network: Repeated HTTP requests to endpoints that accept numeric input, containing unusually long digit strings (tens or hundreds of digits) followed by an exponent character (e.g., e5, e10) in request parameters or JSON body fields.
  • Logs: PHP-FPM or web server access logs showing elevated request processing times (several seconds) for specific endpoints; error logs indicating worker timeout or pool exhaustion events.
  • Process: PHP worker processes showing sustained high CPU utilization without corresponding database or I/O activity; worker pool saturation alerts from process managers such as PHP-FPM.

Mitigation and workarounds

Upgrade Laravel framework to version 13.43.0 (for 13.x users) or 12.73.0 (for 12.x users), which replace the vulnerable regex quantifiers with possessive quantifiers (/^[+-]?\d*+\.?+(\d*+)$/), eliminating backtracking without changing validation behavior (GitHub Advisory, Commit 12.x, Commit 13.x). As a temporary workaround for applications that cannot upgrade immediately, prepend the bail rule and a size-limiting rule such as max or digits_between before decimal in the validation rule chain, so oversized values are rejected before the vulnerable regex is evaluated (GitHub Advisory).

Community reactions

The advisory was submitted with AI assistance and published by Laravel maintainer olivernybroe on November 18, 2026. The fix was authored by community contributor pushpak1300 and merged by Taylor Otwell on November 11, 2026, ahead of the public advisory. The vulnerability was credited to reporter SounLabs. No significant broader media coverage or notable external researcher commentary has been identified beyond the GitHub advisory and standard CVE aggregator entries (GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related Laravel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-142642MEDIUM5.4
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142644MEDIUM5.3
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142643MEDIUM5.3
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142647MEDIUM4.8
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142645MEDIUM4.8
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management