{"id":"CVE-2026-35213","aliases":["CVE-2026-35213","GHSA-jg4p-7fhp-p32p"],"related":["CVE-2026-115728"],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing","summary":"@hapi/content provided HTTP Content-* headers parsing. 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 vulnerability is fixed in 6.0.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@hapi/content provided HTTP Content-* headers parsing. 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 vulnerability is fixed in 6.0.1.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"@hapi/content proporcionaba el análisis de los encabezados HTTP Content-*. Todas las versiones de @hapi/content hasta la 6.0.0 son vulnerables a la Denegación de Servicio por Expresiones Regulares (ReDoS) a través de valores de encabezado HTTP especialmente diseñados. Tres expresiones regulares utilizadas para analizar los encabezados Content-Type y Content-Disposition contienen patrones susceptibles a retrocesos catastróficos. Esta vulnerabilidad está corregida en la versión 6.0.1.","source":"nvd"}],"published":"2026-04-04T04:23:03.000Z","modified":"2026-10-24T02:55:33.217Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":"< 6.0.1","status":"affected"}],"vendor":"hapijs","product":"content","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.0.1"}],"ecosystem":"npm","package":"@hapi/content","purl":"pkg:npm/%40hapi/content","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.0.1"}],"vendor":"content_project","product":"content","cpe":"cpe:2.3:a:content_project:content:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapijs/content/pull/38","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35213","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/content","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-07T14:01:56.331Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35213","url":"https://www.cve.org/CVERecord?id=CVE-2026-35213","licence":"CVE Terms of Use","modified":"2026-06-23T15:51:14.160Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jg4p-7fhp-p32p","url":"https://github.com/advisories/GHSA-jg4p-7fhp-p32p","licence":"CC-BY-4.0","modified":"2026-10-24T02:55:33.217Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35213","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35213","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:18.065Z","epss":{"score":0.00391,"percentile":0.35361,"date":"2026-12-01T12:00:22.000Z"}}