{"id":"CVE-2026-119202","published":"2026-10-29T20:24:17Z","modified":"2026-11-03T16:38:51Z","title":"@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service","vendor":"hapijs","product":"content","tier":"tail","description":{"text":"@hapi/content provides HTTP Content-* header parsing. From 3.0.6 until 6.0.3, Content.disposition() uses an unanchored parameter-name expression in a global regular-expression scan, causing repeated failed matching over the remaining input when a Content-Disposition parameter contains a long token without an equals sign. The resulting quadratic processing can block the Node.js event loop before route handlers or validation when @hapi/pez parses multipart/form-data headers, including unauthenticated hapi routes with payload.multipart enabled, and also affects applications that pass untrusted headers directly to Content.disposition(). This issue is fixed in @hapi/content version 6.0.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00411,"percentile":0.36299,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","tags":["x_refsource_MISC"]},{"url":"https://github.com/hapijs/content/releases/tag/v6.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":7.26},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hapijs","affectedVersions":[{"vendor":"hapijs","product":"content","versions":["< 6.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-03T16:37:48.843191Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@hapi/content","vulnerableRanges":["<6.0.3"],"patched":["6.0.3"],"from":["GHSA-8494-f6mr-cjpv"],"provenance":"source"},{"ecosystem":"npm","package":"content","vulnerableRanges":[">=3.0.6, <=4.0.6"],"patched":[],"from":["GHSA-8494-f6mr-cjpv"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-113373","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hapijs-content-cve-2026-35213","parents":[{"from":"CVE-2026-44974","to":"CVE-2026-119202","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hapi/content","fromFixed":"6.0.2","toFixed":"6.0.3","daysApart":104},{"kind":"same-code","provenance":"machine","files":["lib/index.js"],"commits":["https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f"],"basis":"rarely changed file"}]}],"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},{"cve":"CVE-2026-119202","published":"2026-10-29","fixed":"6.0.3","kev":false}],"package":"npm:@hapi/content"}}