CVEfocus › CVE database › CVE-2026-48125

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

CVSS 5.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-07-14Updated 2026-07-15Assigner: GitHub_M

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.

CWE-1333CWE-400

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
16Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-ua-parser-jsFix pendingUBUNTU-CVE-2026-48125
Ubuntu 26.04node-ua-parser-jsUnder investigationUBUNTU-CVE-2026-48125
Ubuntu 24.04node-ua-parser-jsUnder investigationUBUNTU-CVE-2026-48125
Ubuntu 22.04node-ua-parser-jsUnder investigationUBUNTU-CVE-2026-48125
Ubuntu 20.04node-ua-parser-jsFix pendingUBUNTU-CVE-2026-48125
Ubuntu 18.04node-ua-parser-jsFix pendingUBUNTU-CVE-2026-48125
Debian 14node-ua-parser-jsFixed2.0.10+ds+~cs0.3.5-1DEBIAN-CVE-2026-48125
Debian 13node-ua-parser-jsFix pendingDEBIAN-CVE-2026-48125
Debian 12node-ua-parser-jsFix pendingDEBIAN-CVE-2026-48125
Red Hat Enterprise Linux 7python-syspurposeFix pending
Fix deferred
Red Hat Enterprise Linux 7rhsm-gtkFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-managerFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-cockpitFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-guiFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-migrationFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-plugin-containerFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-rhsmFix pending
Fix deferred
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesFix pending
Fix deferred
npm libraryua-parser-jsFixed2.0.10GHSA-9h5v-pfqq-x599

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.