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 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

AILast updated: 04/06/2026, 20:45:53 UTC

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.

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/6/2026, 8:45:53 PM

Last updated: 4/6/2026, 10:47:27 PM

Views: 5

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