{"id":"CVE-2026-48038","summary":"joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas","details":"joi is a schema description language and data validator for JavaScript. Prior to 17.13.4 and 18.2.1, denial of service is possible via an untrapped exception in services validating user-supplied JSON or object input with recursive link() schemas. When validate() is called without try/catch in a request handler, deeply nested input can trigger an unhandled RangeError and potentially crash the process; lower-impact paths using validateAsync() or try/catch produce a RangeError instead of a structured ValidationError. This issue is fixed in versions 17.13.4 and 18.2.1.","aliases":["GHSA-q7cg-457f-vx79"],"modified":"2026-08-12T03:51:24.546157396Z","published":"2026-07-14T19:24:32.644Z","related":["CGA-73qj-wqcv-39rp"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-248"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48038.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48038.json"},{"type":"ADVISORY","url":"https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48038"},{"type":"FIX","url":"https://github.com/hapijs/joi/commit/97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74"},{"type":"FIX","url":"https://github.com/hapijs/joi/commit/fc146a628ab9cc250854407722d9f8738c9548e7"},{"type":"FIX","url":"https://github.com/hapijs/joi/pull/3113"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hapijs/joi","events":[{"introduced":"0"},{"introduced":"55b0096347c8bd963a9fc04060985344bb69f9ad"},{"fixed":"3d3ab76fad0170e97bdd72e96be7ce32330cde8f"},{"fixed":"048fe05b82355f445c5aab7881d836b2e9811296"},{"fixed":"97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74"},{"fixed":"fc146a628ab9cc250854407722d9f8738c9548e7"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"17.13.4"},{"introduced":"18.0.0"},{"fixed":"18.2.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v17.13.3","v18.2.0","v18.1.2","v18.1.1","v18.1.0","v18.0.2","v18.0.1","v18.0.0","v17.13.2","v17.13.1","v17.13.0","v17.12.3","v17.12.2","v17.12.1","v17.12.0","v17.11.1","v17.11.0","v17.10.2","v17.10.1","v17.10.0","v17.9.2","v17.9.1","v17.9.0","v17.8.4","v17.8.3","v17.8.2","v17.8.1","v17.8.0","v17.7.1","v17.7.0","v17.6.4","v17.6.3","v17.6.2","v17.6.1","v17.6.0","v17.5.0","v17.4.3","v17.4.2","v17.4.1","v17.4.0","v17.3.0","v17.2.1","v17.2.0","v16.1.8","v17.1.1","v17.1.0","v17.0.2","v17.0.1","v17.0.0","v16.1.7","v16.1.6","v16.1.5","v16.1.4","v16.1.3","v16.1.2","v16.1.1","v16.1.0","v16.0.1","v16.0.0","v16.0.0-preview","v15.0.3","v16.0.0-rc2","v16.0.0-rc1","v16.0.0-0","v15.0.2","v15.0.1","v14.3.1","v12.0.0","v14.3.0","v14.2.0","v14.1.1","v14.1.0","v14.0.6","v14.0.5","v14.0.4","v14.0.3","v14.0.2","v14.0.1","v14.0.0","v13.7.0","v13.6.0","v13.5.2","v13.5.0","v13.4.0","v13.3.0","v13.2.0","v13.1.2","v13.1.1","v13.1.0","v13.0.2","v13.0.1","v13.0.0","v11.4.0","v11.3.4","v11.3.3","v11.3.2","v11.3.1","v11.3.0","v11.2.0","v11.1.1","v11.1.0","v11.0.3","v11.0.2","v11.0.1","v11.0.0","v10.6.0","v10.5.2","v10.5.1","v10.5.0","v10.4.2","v10.4.1","v10.4.0","v10.3.4","v10.3.3","v10.3.2","v10.3.1","v10.3.0","v10.2.2","v10.2.1","v10.2.0","v10.1.0","v10.0.6","v10.0.5","v10.0.4","v10.0.3","v10.0.2","v10.0.1","v10.0.0","v9.2.0","v9.1.1","v9.1.0","v9.0.4","v9.0.3","v9.0.2","v9.0.1","v9.0.0","v9.0.0-9","v9.0.0-8","v9.0.0-7","v9.0.0-6","v9.0.0-5","v9.0.0-4","v9.0.0-3","v9.0.0-2","v9.0.0-1","v9.0.0-0","v8.0.5","v8.0.4","v8.0.3","v8.0.2","v8.0.1","v8.0.0","v7.3.0","v7.2.3","v7.2.2","v7.2.1","v7.2.0","v7.1.0","v7.0.1","v6.10.0","v7.0.0","v6.9.1","v6.9.0","v6.8.1","v6.8.0","v6.7.1","v6.7.0","v6.6.1","v6.6.0","v6.2.0","v6.5.0","v6.4.3","v6.4.2","v6.4.1","v6.4.0","v6.3.0","v6.1.2","v6.1.1","v6.1.0","v6.0.8","v6.0.7","v6.0.6","v6.0.5","v6.0.4","v6.0.3","v6.0.2","v6.0.0","v5.1.0","v5.0.2","v5.0.1","v5.0.0","v4.9.0","v4.8.1","v4.8.0","v4.7.0","4.6.2","v4.6.1","v4.6.0","v4.5.0","v4.4.0","v4.3.1","v4.3.0","v4.2.1","v4.2.0","v4.0.0","v3.1.0","v3.0.0","v2.9.0","v2.8.0","v2.7.0","v2.5.0","v2.6.0","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.4.0","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.10","v0.0.9","v0.0.8","v0.0.7","v0.0.6-1","v0.0.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48038.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}