{"id":"CVE-2026-119202","state":"PUBLISHED","title":"@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service","description":"@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.","publishedAt":"2026-10-29T20:24:17.210Z","updatedAt":"2026-10-29T20:24:17.210Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["hapijs content"],"affected":[{"vendor":"hapijs","product":"content","versions":[{"version":"< 6.0.3","status":"affected"}]}],"references":["https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv","https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","https://github.com/hapijs/content/releases/tag/v6.0.3"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T23:08:31.977Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119202.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119202","state":"PUBLISHED","datePublished":"2026-10-29T20:24:17.210Z","dateUpdated":"2026-10-29T20:24:17.210Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-29T16:04:48.728Z"},"containers":{"cna":{"title":"@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service","descriptions":[{"lang":"en","value":"@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."}],"affected":[{"vendor":"hapijs","product":"content","versions":[{"version":"< 6.0.3","status":"affected"}]}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv","name":"https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","name":"https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","tags":["x_refsource_MISC"]},{"url":"https://github.com/hapijs/content/releases/tag/v6.0.3","name":"https://github.com/hapijs/content/releases/tag/v6.0.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-29T20:24:17.210Z"},"source":{"advisory":"GHSA-8494-f6mr-cjpv","discovery":"UNKNOWN"}}}}}