Skip to main content
VulnerabilityPublished

CVE-2026-142644: Laravel · Quadratic regex backtracking in the decimal validation rule can cause denial of service

Affects laravel/frameworkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142644· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 13.43.0 when convenient.

Data as of 4 Dec 2026, 00:00 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 13.43.0, 12.73.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade laravel/framework to 13.43.0; laravel/framework to 12.73.0.

Affected software

ProductAffectedFixed in
Packagistlaravel/frameworkAffected
  • >=13.0.0 <13.43.0
Fixed in
  • 13.43.0
Packagistlaravel/frameworkAffected
  • <12.73.0
Fixed in
  • 12.73.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Laravel framework versions 13.43.0 and 12.73.0 that fixes the vulnerability by making regex quantifiers possessive to prevent backtracking. Users should upgrade to these fixed versions. As a workaround, apply the bail validation rule and place size-limiting rules such as max or digits_between before the decimal rule to reject oversized inputs early and avoid triggering the vulnerability.

Description

A denial of service vulnerability exists in Laravel's decimal validation rule due to quadratic regex backtracking on certain numeric inputs with exponents. This can cause excessive CPU consumption in PHP workers when processing large inputs, potentially exhausting resources and causing service disruption. The issue affects Laravel framework versions >=13.0.0 <13.43.0 and <12.73.0. Fixes have been implemented by making regex quantifiers possessive to eliminate backtracking. Workarounds include using the bail rule with size-limiting validations before the decimal rule.

References

Community reviews

Loading reviews…