8.7High

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

hapijs content Published: (7 months ago)

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.

Weakness (CWE): CWE-1333

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
content project content < 6.0.1
hapijs content < 6.0.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:content_project:content:*:*:*:*:*:node.js:*:* < 6.0.1