Skip to main content
Public proof of conceptFix available

CVE-2026-48125

A public proof of concept exists; no exploitation attested.

  • Published2026-07-14
  • Fixed in2.0.10
  • WeaknessCWE-1333 · CWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-07-1421:16CVE publishedNVD

Versions per branch

NVD · OSV
Ua-parser-js project ua-parser-js
BranchAffectedFixed in
2.0≥ 2.0.1, < 2.0.102.0.10

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • faisalman ua-parser-js
    Affected
    • = >= 2.0.1, < 2.0.10no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-07-14

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • logtoMinimOSall versions · fixed in 1.41.0-r0
  • logto-1.39MinimOSall versions · no fixed version listed
  • node-ua-parser-jsUbuntu:26.10all versions · no fixed version listed
  • node-ua-parser-jsUbuntu:26.04:LTSall versions · no fixed version listed
  • node-ua-parser-jsUbuntu:24.04:LTSall versions · no fixed version listed
  • node-ua-parser-jsUbuntu:22.04:LTSall versions · no fixed version listed
  • node-ua-parser-jsUbuntu:20.04:LTSall versions · no fixed version listed
  • node-ua-parser-jsUbuntu:18.04:LTSall versions · no fixed version listed

3 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-48125 Red Hat Product Security19 known affected

    ua-parser-js: UAParser.js: Denial of Service via crafted Client Hints header

    gatekeeper/gatekeeper-rhel9 as a component of Gatekeeper 3 · rhmtc/openshift-migration-ui-rhel8 as a component of Migration Toolkit for Containers · rh-podman-desktop.git as a component of Red Hat Build of Podman Desktop · +16 more

Full record on NVD

Fix

  1. Update Ua-parser-js project ua-parser-js to 2.0.10
  2. Workaround from the vendor Red Hat Product Security CVE-2026-48125 · 19 productsIf you are managing web servers or Node.js applications that process user-agent information, you can defend against this attack vector using the following approaches: * Apply header length restrictions (reverse proxy, WAF, application) * Opt-out of Client Hints, avoid parsing the Sec-CH-UA-Model wi…
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-48125 · 19 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-25
  • CISA-ADPSSVC decisionpoc2026-07-15
  • CNACVSS 3.15.3known since 2026-10-25
  • CNAweakness (CWE)CWE-1333, CWE-400known since 2026-10-25
  • FIRST EPSSEPSS score0.4 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2026-06-15

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
2026-07-14
Last modified
2026-10-24
NVD status
Analyzed
GitHub advisory
GHSA-9h5v-pfqq-x599

Frequently asked questions

What is CVE-2026-48125?

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.

Is CVE-2026-48125 actively exploited?

A proof-of-concept exploit exists for CVE-2026-48125, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-48125?

CVE-2026-48125 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Running ua-parser-js? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record