{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-118772","id":"CVE-2026-118772","title":"joi denial of service in multiple-email validation","description":"joi is a schema description language and data validator for JavaScript. From 17.1.1 until 17.13.9 and 18.3.1, the Joi.string().email({ multiple: true }) rule uses a separator regular expression whose leading whitespace quantifier is retried at every position in a long whitespace run that contains no separator, causing quadratic work during String.prototype.split. The behavior applies to the defaul","descriptionLong":"joi is a schema description language and data validator for JavaScript. From 17.1.1 until 17.13.9 and 18.3.1, the Joi.string().email({ multiple: true }) rule uses a separator regular expression whose leading whitespace quantifier is retried at every position in a long whitespace run that contains no separator, causing quadratic work during String.prototype.split. The behavior applies to the default separator and every custom separator. Applications that validate attacker-controlled values with the multiple option and no effective prior length limit can have the Node.js event loop blocked for seconds by one request, preventing other work. A .max() rule is not sufficient when abortEarly: false allows the email rule to run after the maximum-length check fails. This vulnerability is fixed in versions 17.13.9 and 18.3.1.","published":"2026-10-29T18:13:33.771Z","updated":"2026-11-05T02:31:01.388310353Z","reserved":"2026-10-28T19:20:05.018Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["hapijs joi","@hapi joi"],"affectedProducts":[{"vendor":"hapijs","product":"joi","defaultStatus":null,"versions":[{"version":">= 16.0.0, <= 17.1.1","status":"affected"},{"version":">= 18.0.0, < 18.3.1","status":"affected"}],"platforms":[]},{"vendor":"@hapi","product":"joi","defaultStatus":null,"versions":[{"version":">= 16.0.0, <= 17.1.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"joi","purl":"pkg:npm/joi","ranges":[">=17.1.1 <17.13.9",">=18.0.0 <18.3.1"],"fixed":["17.13.9","18.3.1"],"advisory":"GHSA-4528-x5fx-h6hg"},{"ecosystem":"npm","name":"@hapi/joi","purl":"pkg:npm/%40hapi/joi","ranges":[">=16.0.0 <=17.1.1"],"fixed":[],"advisory":"GHSA-4528-x5fx-h6hg"}],"cwes":["CWE-1333"],"aliases":["GHSA-4528-x5fx-h6hg"],"references":[{"url":"https://github.com/hapijs/joi/security/advisories/GHSA-4528-x5fx-h6hg","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/hapijs/joi/pull/3162","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/hapijs/joi/pull/3163","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/hapijs/joi/commit/03dc1d909818503b06240dadc81e9227ed2649cf","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/hapijs/joi/commit/807858d7480f5075b0610817e3e44230890fb18e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/hapijs/joi/releases/tag/v17.13.9","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/hapijs/joi/releases/tag/v18.3.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118772.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118772","tags":["advisory"]},{"url":"https://github.com/hapijs/joi","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00467,"epssPercentile":0.41204,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-118772","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118772","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-118772","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4528-x5fx-h6hg","ok":true,"note":"GHSA-4528-x5fx-h6hg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-118772","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}