Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
Summary
| CVE | CVE-2026-142623 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 23:18:41 UTC |
| Updated | 2026-12-02 23:18:41 UTC |
| Description | Laravel is a web application framework. Prior to 12.73.0 and 13.43.0, Illuminate\JsonSchema\Deserializer resolved chained local $ref pointers recursively without limiting the depth of the chain. Applications that pass attacker-influenced JSON Schema data to JsonSchema::fromArray() or Deserializer::deserialize() could be sent a crafted schema containing a long linear chain of $ref references. Resolving it consumes memory and CPU rapidly and can exhaust the PHP memory limit, terminating the worker process. Repeated requests can sustain the outage. Applications that only deserialize developer-defined schemas are not affected. This issue is fixed in versions 12.73.0 and 13.43.0. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Problem Types: CWE-400 | CWE-674 | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-674 CWE-674: Uncontrolled Recursion
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/laravel/framework/security/advisories/GHSA-cgwv-q695-mj8g | [email protected] | github.com | |
| github.com/laravel/framework/commit/97ebd4979e72756a7417a311ec7dbc2945ed... | [email protected] | github.com | |
| github.com/laravel/framework/releases/tag/v12.73.0 | [email protected] | github.com | |
| github.com/laravel/framework/pull/62498 | [email protected] | github.com | |
| github.com/laravel/framework/releases/tag/v13.43.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.