THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-4528-x5fx-h6hg (high) — joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service

[GHSA] GHSA-4528-x5fx-h6hg (high) — joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service

medgithub_advisoriesPublished 2026-10-30

GHSA-4528-x5fx-h6hg Severity: high CVE: CVE-2026-118772

joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service

### Summary

`Joi.string().email({ multiple: true })` takes quadratic time to split a value that contains a long run of whitespace. One request with 100 KB of spaces blocks the Node.js event loop for several seconds, which causes a denial of service.

Indicators of compromise

Original source: https://github.com/advisories/GHSA-4528-x5fx-h6hg