{"id":"CVE-2026-48038","state":"PUBLISHED","title":"joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas","description":"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.","publishedAt":"2026-07-14T19:24:32.644Z","updatedAt":"2026-07-15T13:27:13.334Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["hapijs joi"],"affected":[{"vendor":"hapijs","product":"joi","versions":[{"version":"< 17.13.4","status":"affected"},{"version":">= 18.0.0, < 18.2.1","status":"affected"}]}],"references":["https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79","https://github.com/hapijs/joi/pull/3113","https://github.com/hapijs/joi/commit/97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74","https://github.com/hapijs/joi/commit/fc146a628ab9cc250854407722d9f8738c9548e7"],"weaknesses":["CWE-248"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48038.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48038","state":"PUBLISHED","datePublished":"2026-07-14T19:24:32.644Z","dateUpdated":"2026-07-15T13:27:13.334Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-20T18:15:53.577Z"},"containers":{"cna":{"title":"joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"hapijs","product":"joi","versions":[{"version":"< 17.13.4","status":"affected"},{"version":">= 18.0.0, < 18.2.1","status":"affected"}]}],"references":[{"url":"https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79","name":"https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/joi/pull/3113","name":"https://github.com/hapijs/joi/pull/3113","tags":["x_refsource_MISC"]},{"url":"https://github.com/hapijs/joi/commit/97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74","name":"https://github.com/hapijs/joi/commit/97bd51de94d595a2d8949eb3bec0dbdd2f8a7a74","tags":["x_refsource_MISC"]},{"url":"https://github.com/hapijs/joi/commit/fc146a628ab9cc250854407722d9f8738c9548e7","name":"https://github.com/hapijs/joi/commit/fc146a628ab9cc250854407722d9f8738c9548e7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-14T19:24:32.644Z"},"source":{"advisory":"GHSA-q7cg-457f-vx79","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T13:23:16.760424Z","id":"CVE-2026-48038","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T13:27:13.334Z"}}]}}}