CVE-2026-35213: CWE-1333: Inefficient Regular Expression Complexity in hapijs content
@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.
AI Analysis
Technical Summary
The @hapi/content library, used for parsing HTTP Content-* headers, has three regular expressions that are susceptible to catastrophic backtracking, leading to a Regular Expression Denial of Service (ReDoS) vulnerability. This affects all versions before 6.0.1. An attacker can exploit this by sending specially crafted HTTP headers that cause excessive processing time, potentially leading to service disruption. The vulnerability is tracked as CVE-2026-35213 with a CVSS 4.0 score of 8.7 (high severity).
Potential Impact
Successful exploitation can cause denial of service by making the server spend excessive CPU time processing maliciously crafted HTTP Content-Type or Content-Disposition headers. This can degrade or interrupt service availability.
Mitigation Recommendations
Upgrade @hapi/content to version 6.0.1 or later, where the vulnerable regular expressions have been fixed. No other mitigation is indicated by the vendor advisory.
CVE-2026-35213: CWE-1333: Inefficient Regular Expression Complexity in hapijs content
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @hapi/content library, used for parsing HTTP Content-* headers, has three regular expressions that are susceptible to catastrophic backtracking, leading to a Regular Expression Denial of Service (ReDoS) vulnerability. This affects all versions before 6.0.1. An attacker can exploit this by sending specially crafted HTTP headers that cause excessive processing time, potentially leading to service disruption. The vulnerability is tracked as CVE-2026-35213 with a CVSS 4.0 score of 8.7 (high severity).
Potential Impact
Successful exploitation can cause denial of service by making the server spend excessive CPU time processing maliciously crafted HTTP Content-Type or Content-Disposition headers. This can degrade or interrupt service availability.
Mitigation Recommendations
Upgrade @hapi/content to version 6.0.1 or later, where the vulnerable regular expressions have been fixed. No other mitigation is indicated by the vendor advisory.
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: 04/06/2026, 20:30:30 UTC
Last enriched: 06/24/2026, 15:09:00 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 128
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.