CVE-2026-35213 PUBLISHED

Regular Expression Denial of Service (ReDoS) in @hapi/content HTTP header parsing

Assigner: GitHub_M
Reserved: 01.04.2026 Published: 06.04.2026 Updated: 07.04.2026

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

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor hapijs
Product content
Versions
  • Version < 6.0.1 is affected

References

Problem Types

  • CWE-1333: Inefficient Regular Expression Complexity CWE