CVE-2026-118772joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service
- 7.5HighCVSS base score
- 0.47%Exploitation in 30 daysEPSS · top 59% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/hapijs/joi/security/advisories/GHSA-4528-x5fx-h6hg (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 6 days later
· 6 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.47% · top 59% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References7
- https://github.com/hapijs/joi/security/advisories/GHSA-4528-x5fx-h6hg (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/hapijs/joi/pull/3162 (opens in a new tab)x_refsource_MISC
- https://github.com/hapijs/joi/pull/3163 (opens in a new tab)x_refsource_MISC
- https://github.com/hapijs/joi/commit/03dc1d909818503b06240dadc81e9227ed2649cf (opens in a new tab)x_refsource_MISC
- https://github.com/hapijs/joi/commit/807858d7480f5075b0610817e3e44230890fb18e (opens in a new tab)x_refsource_MISC
- https://github.com/hapijs/joi/releases/tag/v17.13.9 (opens in a new tab)x_refsource_MISC
- https://github.com/hapijs/joi/releases/tag/v18.3.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-113320 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4528-x5fx-h6hg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-118772)Record last updated .