CVE-2026-35213: CWE-1333: Inefficient Regular Expression Complexity in hapijs content
A Regular Expression Denial of Service (ReDoS) vulnerability exists in all versions of the @hapi/content package prior to 6. 0. 1. The issue arises from inefficient regular expressions used to parse HTTP Content-Type and Content-Disposition headers, which can lead to catastrophic backtracking when processing crafted header values. This vulnerability has a high severity score of 8. 7 and allows an attacker to cause denial of service by exhausting server resources. The vulnerability is fixed in version 6. 0. 1 of the package.
AI Analysis
Technical Summary
@hapi/content versions before 6.0.1 contain inefficient regular expressions in the parsing logic for HTTP Content-Type and Content-Disposition headers. These regex patterns are vulnerable to catastrophic backtracking, enabling a Regular Expression Denial of Service (ReDoS) attack when processing maliciously crafted HTTP header values. The vulnerability is tracked as CVE-2026-35213 with a CVSS 4.0 score of 8.7 (high severity). No known exploits in the wild have been reported. The issue is resolved in version 6.0.1 of @hapi/content.
Potential Impact
Successful exploitation of this vulnerability can cause a denial of service condition by consuming excessive CPU resources due to catastrophic backtracking in regular expression evaluation. This can degrade or disrupt the availability of applications using vulnerable versions of @hapi/content when processing specially crafted HTTP headers.
Mitigation Recommendations
Upgrade to @hapi/content version 6.0.1 or later, where this vulnerability is fixed. Patch status is confirmed by the versioning information indicating the fix in 6.0.1. No other official remediation or temporary fixes are documented. Users should prioritize updating to the fixed version to prevent potential denial of service.
CVE-2026-35213: CWE-1333: Inefficient Regular Expression Complexity in hapijs content
Description
A Regular Expression Denial of Service (ReDoS) vulnerability exists in all versions of the @hapi/content package prior to 6. 0. 1. The issue arises from inefficient regular expressions used to parse HTTP Content-Type and Content-Disposition headers, which can lead to catastrophic backtracking when processing crafted header values. This vulnerability has a high severity score of 8. 7 and allows an attacker to cause denial of service by exhausting server resources. The vulnerability is fixed in version 6. 0. 1 of the package.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
@hapi/content versions before 6.0.1 contain inefficient regular expressions in the parsing logic for HTTP Content-Type and Content-Disposition headers. These regex patterns are vulnerable to catastrophic backtracking, enabling a Regular Expression Denial of Service (ReDoS) attack when processing maliciously crafted HTTP header values. The vulnerability is tracked as CVE-2026-35213 with a CVSS 4.0 score of 8.7 (high severity). No known exploits in the wild have been reported. The issue is resolved in version 6.0.1 of @hapi/content.
Potential Impact
Successful exploitation of this vulnerability can cause a denial of service condition by consuming excessive CPU resources due to catastrophic backtracking in regular expression evaluation. This can degrade or disrupt the availability of applications using vulnerable versions of @hapi/content when processing specially crafted HTTP headers.
Mitigation Recommendations
Upgrade to @hapi/content version 6.0.1 or later, where this vulnerability is fixed. Patch status is confirmed by the versioning information indicating the fix in 6.0.1. No other official remediation or temporary fixes are documented. Users should prioritize updating to the fixed version to prevent potential denial of service.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-01T18:48:58.937Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d417e60a160ebd92da7f81
Added to database: 4/6/2026, 8:30:30 PM
Last enriched: 4/6/2026, 8:45:53 PM
Last updated: 4/6/2026, 10:47:27 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.