# GHSA-CGWV-Q695-MJ8G: Unbounded $ref chain resolution in Illuminate\\JsonSchema\\Deserializer allows denial of service

- Database: GitHub
- Severity: CVSS 5.3 (Medium)
- Published: 2026-11-18
- Modified: 2026-12-02

## Tracked as

- [CVE-2026-142623](https://cve.now/CVE-2026-142623.md): Laravel: Unbounded $ref chain resolution in Illuminate\\JsonSchema\\Deserializer allows denial of service

## Affected versions

- laravel/framework (Packagist): fixed in 12.73.0
- laravel/framework (Packagist): fixed in 13.43.0

## Description

### Impact

`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.

### Patches

The fix limits the depth of chained `$ref` resolution and throws an `InvalidArgumentException` when the limit is exceeded. It has been merged into the 12.x branch: https://github.com/laravel/framework/pull/62498

## References

- https://github.com/laravel/framework/security/advisories/GHSA-cgwv-q695-mj8g

Page: https://cve.now/GHSA-CGWV-Q695-MJ8G

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
