# CVE-2026-35213: Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-04-04T04:23:03.000Z
- Modified: 2026-10-24T02:55:33.217Z
- Also known as: GHSA-jg4p-7fhp-p32p
- Related: CVE-2026-115728
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- hapijs content: < 6.0.1
- @hapi/content (npm): before 6.0.1
- content_project content: before 6.0.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- 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`
- GitHub: CVSS:4.0 High `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`
- NVD: 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-jg4p-7fhp-p32p> (vendor-advisory, web)
- <https://github.com/hapijs/content/pull/38> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35213> (advisory)
- <https://github.com/hapijs/content> (package)

## Sources

- CVE List: [CVE-2026-35213](https://www.cve.org/CVERecord?id=CVE-2026-35213), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-jg4p-7fhp-p32p](https://github.com/advisories/GHSA-jg4p-7fhp-p32p), CC-BY-4.0, modified 2026-10-24
- NVD: [CVE-2026-35213](https://nvd.nist.gov/vuln/detail/CVE-2026-35213), Public domain, modified 2026-07-24

---

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