{"id":"CVE-2026-35213","aliases":["GHSA-jg4p-7fhp-p32p"],"url":"https://o3.security/vulnerability/CVE-2026-35213","summary":"Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing","details":"All versions of `@hapi/content` through 6.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTTP header values. Three regular expressions used to parse `Content-Type` and `Content-Disposition` headers contain patterns susceptible to catastrophic backtracking. This has been fixed in v6.0.1.\n\n### Impact\n\nDenial of Service. An unauthenticated remote attacker can cause a Node.js process to become unresponsive by sending a single HTTP request with a maliciously crafted header value.\n\n### Patches\n\nFixed by tightening all three regular expressions to eliminate backtracking.\n\n### Workarounds\n\nThere are no known workarounds. Upgrade to the patched version.","published":"2026-04-06T20:08:54.811Z","modified":"2026-08-12T03:51:17.770151981Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@hapi/content","fixedVersion":"6.0.1"}],"fix":{"url":"https://github.com/hapijs/content/pull/38","label":"hapijs/content#38"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35213.json"},{"type":"ADVISORY","url":"https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35213"},{"type":"FIX","url":"https://github.com/hapijs/content/pull/38"},{"type":"PACKAGE","url":"https://github.com/hapijs/content"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:17.770151981Z"}}