CVE-2026-142623: Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 12.73.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 13.43.0
Event History
Frequently Asked Questions
Which applications are actually exposed to this denial-of-service condition?
Applications are exposed if they pass attacker-influenced JSON Schema data to JsonSchema::fromArray() or Deserializer::deserialize(). Applications that deserialize only developer-defined schemas are not affected.
What does an attacker need to do to trigger the issue?
An attacker needs a way to supply JSON Schema data that reaches one of the affected deserialization APIs. They can use a crafted schema with a long linear chain of local $ref references, requiring no privileges or user interaction.
What is the operational impact of successful exploitation?
Resolving the reference chain can rapidly consume CPU and memory until the PHP memory limit is exhausted, terminating the worker process. Repeated requests can sustain an outage.
What versions contain the fix?
The issue is fixed in Illuminate JsonSchema versions 12.73.0 and 13.43.0.