CVE-2026-48038CWE-248

joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas

Medium · published July 14, 2026

CVSS v3.1
5.3
EPSS
1%
Percentile
43.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00524 · 43.6th percentile
Weakness
CWE-248 · Uncaught Exception
Published
2026-07-14T19:24Z
EPSS history
Timeline
  • 14 JUL 19:24Z
    joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas
    cvelistv5