{"id":"CVE-2026-142623","aliases":["GHSA-cgwv-q695-mj8g"],"url":"https://o3.security/vulnerability/CVE-2026-142623","summary":"Laravel: Unbounded $ref chain resolution in Illuminate\\JsonSchema\\Deserializer allows denial of service","details":"### Impact\n\n`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.\n\n### Patches\n\nThe 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","published":"2026-12-02T22:25:03.588Z","modified":"2026-12-03T21:02:18.076389753Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"12.73.0"},{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"13.43.0"}],"fix":{"url":"https://github.com/laravel/framework/commit/97ebd4979e72756a7417a311ec7dbc2945eda278","label":"laravel/framework@97ebd49"},"references":[{"type":"WEB","url":"https://github.com/laravel/framework/releases/tag/v12.73.0"},{"type":"WEB","url":"https://github.com/laravel/framework/releases/tag/v13.43.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142623.json"},{"type":"ADVISORY","url":"https://github.com/laravel/framework/security/advisories/GHSA-cgwv-q695-mj8g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142623"},{"type":"FIX","url":"https://github.com/laravel/framework/commit/97ebd4979e72756a7417a311ec7dbc2945eda278"},{"type":"FIX","url":"https://github.com/laravel/framework/pull/62498"},{"type":"PACKAGE","url":"https://github.com/laravel/framework"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-03T21:02:18.076389753Z"}}