{"id":"CVE-2026-35213","published":"2026-04-06T20:08:54Z","modified":"2026-06-23T15:51:14Z","title":"Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing","vendor":"hapijs","product":"content","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00391,"percentile":0.33974,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/content/pull/38","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":6.79},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"hapijs","affectedVersions":[{"vendor":"hapijs","product":"content","versions":["< 6.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-07T14:01:56.331650Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@hapi/content","vulnerableRanges":["<6.0.1"],"patched":["6.0.1"],"from":["GHSA-jg4p-7fhp-p32p"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) issue in the HTTP header parsing component of hapijs's @hapi/content package, where three regular expressions used to parse Content-Type and Content-Disposition headers are susceptible to catastrophic backtracking. An attacker who can send a crafted HTTP header value over the network, without authentication or user interaction, can cause the service to consume excessive resources and become unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:01Z"},"euvd":{"id":"EUVD-2026-19477","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hapijs-content-cve-2026-35213","children":[{"from":"CVE-2026-35213","to":"CVE-2026-115728","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"@hapi/content from 6.0.1 before 6.0.3 contains a regular expression denial of service vulnerability in Content.disposition() caused by an incomplete fix for CVE-2026-35213.","from":"CVE.org","in":"CVE-2026-115728"},{"kind":"osv-related","provenance":"source","id":"GHSA-jg4p-7fhp-p32p","via":"reference","url":"https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p"}]}],"packageHistory":[{"cve":"CVE-2026-35213","published":"2026-04-06","fixed":"6.0.1","kev":false},{"cve":"CVE-2026-44974","published":"2026-07-17","fixed":"6.0.2","kev":false,"link":{"from":"CVE-2026-35213","to":"CVE-2026-44974","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hapi/content","fromFixed":"6.0.1","toFixed":"6.0.2","daysApart":102}]}},{"cve":"CVE-2026-119202","published":"2026-10-29","fixed":"6.0.3","kev":false}],"package":"npm:@hapi/content"}}