# CVE-2026-119202: @hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T20:24:17.210Z
- Modified: 2026-11-03T17:18:04.610Z
- Also known as: GHSA-8494-f6mr-cjpv
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hapijs content: < 6.0.3
- @hapi/content (npm): before 6.0.3
- content (npm): from 3.0.6 up to 4.0.6

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/hapijs/content/security/advisories/GHSA-8494-f6mr-cjpv> (exploit, web)
- <https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd> (web)
- <https://github.com/hapijs/content/releases/tag/v6.0.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119202> (advisory)
- <https://github.com/hapijs/content> (package)

## Sources

- CVE List: [CVE-2026-119202](https://www.cve.org/CVERecord?id=CVE-2026-119202), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-8494-f6mr-cjpv](https://github.com/advisories/GHSA-8494-f6mr-cjpv), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-119202](https://nvd.nist.gov/vuln/detail/CVE-2026-119202), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-119202 · Whole record: https://cve.day/CVE-2026-119202.json · Rebuilt by cve.day 2026-11-25T22:59:47.836Z
