CVE-2026-118772 joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
20 packages: 2 fixed, 16 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/cryostat/cryostat-openshift-console-plugin-rhel9(Red Hat cryostat 4) | All versions | No fix listed | No fix yet |
| redhat/devspaces/dashboard-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/grafana13.1(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/grafana13.2(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-serverless-1/logic-rhel9-operator(Red Hat serverless 1) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift5/ose-agent-installer-ui-rhel9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/rhmtc/openshift-migration-ui-rhel8(Red Hat rhmt 1) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-automl-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-autorag-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| hapi joi(npm) | >= 16.0.0, <= 17.1.1 | after 17.1.1 | Fixed |
| npm joi(npm) | >= 17.1.1, < 17.13.9; >= 18.0.0, < 18.3.1 | 17.13.9, 18.3.1 | Fixed |
| hapi joi | = >= 16.0.0, <= 17.1.1 | No fix listed | Versions listed |
| hapijs joi | = >= 16.0.0, <= 17.1.1; = >= 18.0.0, < 18.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/cryostat/cryostat-openshift-console-plugin-rhel9(Red Hat:cryostat:4) | All versions | No fix listed |
| redhat/rhmtc/openshift-migration-ui-rhel8(Red Hat:rhmt:1) | All versions | No fix listed |
| redhat/openshift-serverless-1/logic-rhel9-operator(Red Hat:serverless:1) | All versions | No fix listed |
| redhat/grafana13.1(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/grafana13.2(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift5/ose-agent-installer-ui-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/devspaces/dashboard-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| hapijs joi | = >= 16.0.0, <= 17.1.1 | No fix listed |
| hapijs joi | = >= 18.0.0, < 18.3.1 | No fix listed |
| hapi joi | = >= 16.0.0, <= 17.1.1 | No fix listed |
| npm joi(npm) | >= 17.1.1, < 17.13.9 | 17.13.9 |
| hapi joi(npm) | >= 16.0.0, <= 17.1.1 | No fix listed |
| npm joi(npm) | >= 18.0.0, < 18.3.1 | 18.3.1 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2563634 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/hapijs/joi/commit/03dc1d909818503b06240dadc81e9227ed2649cf patch
- https://github.com/hapijs/joi/commit/807858d7480f5075b0610817e3e44230890fb18e patch
- https://github.com/hapijs/joi/pull/3162 patch
- https://github.com/hapijs/joi/pull/3163 patch
- https://github.com/hapijs/joi/releases/tag/v17.13.9
- https://github.com/hapijs/joi/releases/tag/v18.3.1
- https://github.com/hapijs/joi/security/advisories/GHSA-4528-x5fx-h6hg exploit vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-113320 third-party-advisory