Read the docs
TI-2026-35563 Aliases CVE-2026-48125GHSA-9h5v-pfqq-x599

UAParser.js: Unbounded `Sec-CH-UA-Model` parsing can trigger ReDoS in `withClientHints()`

Priority MEDIUM 63CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 7 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

UAParser.js is a JavaScript library to detect browsers, operating systems, CPUs, and devices from user-agent data. From 2.0.1 until 2.0.10, a regular expression denial-of-service vulnerability exists when using the Client Hints API. By sending a crafted Sec-CH-UA-Model header to an application that calls UAParser(headers).withClientHints(), an attacker can cause excessive CPU time due to catastrophic backtracking in the device regex because Client Hints values are copied without the UA_MAX_LENGTH limit used for User-Agent values. This issue is fixed in version 2.0.10.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00523 44th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ua-parser-js (faisalman): 2.0.10ua-parser-js (npm): 2.0.10Red Hat: 7 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
faisalmanua-parser-js2.0.1 to before 2.0.102.0.10Patch availableCNA
—ua-parser-js (npm)2.0.1 to before 2.0.102.0.10Patch availableGHSA-9h5v-pfqq-x599
  • ua-parser-js Vendorfaisalman Affected 2.0.1 to before 2.0.10 Fixed in 2.0.10 Patch available CNA
  • ua-parser-js (npm) Vendor— Affected 2.0.1 to before 2.0.10 Fixed in 2.0.10 Patch available GHSA-9h5v-pfqq-x599

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*2.0.1 to before 2.0.10VulnerableUa-parser-js Project
  • cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:* Versions 2.0.1 to before 2.0.10 Vulnerable ·Ua-parser-js Project

Remediation

  • Fix · CNA ua-parser-js (faisalman) Fixed in 2.0.10
  • Fix · GHSA-9h5v-pfqq-x599 ua-parser-js (npm) Fixed in 2.0.10 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Gatekeeper 3AffectedNo fix yet: Fix deferred
Migration Toolkit for ContainersAffectedNo fix yet: Fix deferred
Red Hat Build of Podman DesktopAffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Not affected: 2 products
  • Red Hat Hardened Images
  • Red Hat OpenShift AI (RHOAI)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-48125
  2. 2026-10-03 Alias added: GHSA-9h5v-pfqq-x599
  3. 2026-11-06 Affected versions changed · Red Hat

References

  • TI-2022-09474 Regular expression denial of service in ua-parser-js CVSS 3.1HIGH 7.5
  • TI-2021-03090 ua-parser-js Crypto Mining backdoor CVSS 3.1HIGH 8.8
  • TI-2020-06309 Regular expression denial of service (ReDoS) in ua-parser-js CVSS 3.1HIGH 7.5
  • TI-2020-06251 Regular expression denial of service (ReDoS) in ua-parser-js CVSS 3.1HIGH 7.5
  • TI-2021-08826 ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to… CVSS 3.1HIGH 7.5

Sources