Skip to content
OpenAdvisories
High · 8.7 CVE-2026-35213 EUVD-2026-19477GHSA-jg4p-7fhp-p32p

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

Published Apr 6, 2026 · Updated Jun 23, 2026 · 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.

Affected products

VendorProductAffectedFixed
hapijs content < 6.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-dashboards-3 3.5.0-r15 —

References