{"id":"CVE-2026-119202","summary":"@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service","details":"@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.","aliases":["GHSA-8494-f6mr-cjpv"],"modified":"2026-11-05T02:30:33.373830937Z","published":"2026-10-29T20:24:17.210Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119202.json"},"references":[{"type":"WEB","url":"https://github.com/hapijs/content/releases/tag/v6.0.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119202.json"},{"type":"ADVISORY","url":"https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119202"},{"type":"FIX","url":"https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hapijs/content","events":[{"introduced":"0"},{"fixed":"06f8c9f8bb38251781f89c348ae7760e49ca1f25"},{"fixed":"0993851dc7234976a3fce3a7c31662b213c940fd"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"6.0.3"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"0993851dc7234976a3fce3a7c31662b213c940fd"}]},{"original_tag":"v6.0.3","range":[{"fixed":"06f8c9f8bb38251781f89c348ae7760e49ca1f25"}],"source":"REFERENCES_TAG"}]}}],"versions":["v6.0.2","v6.0.1","v6.0.0","v5.0.2","v4.1.0","v5.0.1","v5.0.0","v4.0.6","v4.0.5","v4.0.4","v3.0.6","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.0.0","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119202.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}