CVE-2026-35213 Details
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in the @hapi/content package, affecting all versions through 6.0.0. The issue arises from three regular expressions used to parse Content-Type and Content-Disposition headers, which contain patterns vulnerable to catastrophic backtracking. An unauthenticated remote attacker can exploit this vulnerability by sending a single HTTP request with a crafted header value, causing a Node.js process to become unresponsive.
Users are advised to upgrade to version 6.0.1, which addresses this vulnerability by tightening the regular expressions to eliminate the backtracking issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hapijs/content/pull/38 | [email protected] | Issue TrackingPatch |
| https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| content project content | < 6.0.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | Initial Analysis | [email protected] |
| Apr 6, 2026 | New CVE Received | [email protected] |