Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35213: CWE-1333: Inefficient Regular Expression Complexity in hapijs content

0
High
VulnerabilityCVE-2026-35213cvecve-2026-35213cwe-1333
Published: Mon Apr 06 2026 (04/06/2026, 20:08:54 UTC)
Source: CVE Database V5
Vendor/Project: hapijs
Product: content

Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in all versions of @hapi/content prior to 6. 0. 1. The vulnerability arises from inefficient regular expressions used to parse HTTP Content-Type and Content-Disposition headers, which can be exploited by crafted HTTP header values to cause catastrophic backtracking. This issue is fixed in version 6. 0. 1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 16:10:57 UTC

Technical Analysis

@hapi/content versions before 6.0.1 contain three regular expressions used for parsing HTTP Content-Type and Content-Disposition headers that are vulnerable to ReDoS attacks due to inefficient pattern design leading to catastrophic backtracking. This allows an attacker to send specially crafted HTTP headers that cause excessive CPU consumption, potentially leading to denial of service. The vulnerability is tracked as CVE-2026-35213 with a CVSS 4.0 score of 8.7 (high severity). The fix is included in version 6.0.1.

Potential Impact

Successful exploitation can cause denial of service by exhausting CPU resources when processing maliciously crafted HTTP headers. This impacts availability of applications using vulnerable versions of @hapi/content. There is no indication of privilege escalation, data disclosure, or other impacts.

Mitigation Recommendations

Upgrade to @hapi/content version 6.0.1 or later, where the vulnerable regular expressions have been fixed. Patch status is confirmed by the version update note. No other mitigation or temporary workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/14/2026, 4:10:57 PM

Last updated: 5/22/2026, 6:05:49 AM

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses