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…
EPSS 0.4%top 63%

CVE-2026-48125: CWE-400: Uncontrolled Resource Consumption in faisalman ua-parser-js

0
Medium
VulnerabilityCVE-2026-48125cvecve-2026-48125cwe-400cwe-1333
Published: 07/14/2026 (07/14/2026, 20:54:56 UTC)
Source: CVE Database V5
Vendor/Project: faisalman
Product: ua-parser-js

Description

UAParser.js versions from 2.0.1 up to but not including 2.0.10 contain a regular expression denial-of-service (ReDoS) vulnerability when using the Client Hints API. This occurs because the Sec-CH-UA-Model header is processed without length limits, leading to excessive CPU consumption due to catastrophic backtracking in the device regex. The issue is fixed in version 2.0.10.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

ua-parser-js
pkg:npm/ua-parser-js
Affected versions
>=2.0.1 <2.0.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/21/2026, 22:47:26 UTC

Technical Analysis

The vulnerability in UAParser.js (CVE-2026-48125) affects versions >=2.0.1 and <2.0.10. When the library processes Client Hints headers via the withClientHints() method, a crafted Sec-CH-UA-Model header can trigger catastrophic backtracking in a regular expression used to parse device information. This results in uncontrolled resource consumption (CPU exhaustion), constituting a regular expression denial-of-service (ReDoS) attack. The root cause is that Client Hints values are copied without applying the UA_MAX_LENGTH limit that is used for User-Agent values. This vulnerability is resolved in version 2.0.10.

Potential Impact

An attacker can cause excessive CPU usage on an application using vulnerable UAParser.js versions by sending a specially crafted Sec-CH-UA-Model header. This leads to denial-of-service conditions due to resource exhaustion. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

Upgrade to UAParser.js version 2.0.10 or later, where this vulnerability is fixed. Patch status is confirmed by the version range and fix version stated in the description. No other mitigations are 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-05-20T18:46:58.291Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a56a78f68715ace43381305

Added to database: 07/14/2026, 21:18:07 UTC

Last enriched: 07/21/2026, 22:47:26 UTC

Last updated: 08/22/2026, 22:52:14 UTC

Views: 75

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