CVE-2026-118772: joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service
Vulnerability summary
CVE-2026-118772 is a high (CVSS 7.5) vulnerability in @hapi joi. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 41.3% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 20-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 29-10-2026PublishedVulnerability first disclosed.
- 04-11-2026Last modifiedVulnerability information updated.
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 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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard13 products
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.8All versions (No fix recorded)
- gitlab-rails-ce-18.9All versions (No fix recorded)
- gitlab-rails-ce-fips-18.8All versions (No fix recorded)
- kibana-8.19All versions (No fix recorded) | < 8.19.23-r8
@hapi2 products
- joi≥ 16.0.0, ≤ 17.1.1
- joi≥ 16.0.0, ≤ 17.1.1
Hapijs1 product
- joi≥ 16.0.0, ≤ 17.1.1 | ≥ 18.0.0, < 18.3.1
Npm1 product
- joi≥ 17.1.1, < 17.13.9 | ≥ 18.0.0, < 18.3.1
Redhat1 product
- grafana13.2< 0:13.2.4-0.7.hum1
Wolfi1 product
- opensearch-dashboards-3All versions (No fix recorded) | < 3.9.0-r10
6 vendors · 19 products
References
17 links- github.com/hapijs/joiPACKAGE
Show all 17 references
- images.redhat.comARTICLE