CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3) in ua-parser-js project ua-parser-js. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in ua-parser-js 2.0.10.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lua-parser-js (npm): fixed in 2.0.10Explain CVE-2026-48125 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48125?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48125?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48125 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ua-parser-js_project:ua-parser-js | from 2.0.1 before 2.0.10 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-9h5v-pfqq-x599 | npm | ua-parser-js | >=2.0.1 <2.0.10 | 2.0.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | node-ua-parser-js | no fix listed | DEBIAN-CVE-2026-48125 |
| Debian | 14 | node-ua-parser-js | 2.0.10+ds+~cs0.3.5-1 | DEBIAN-CVE-2026-48125 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 3 more | node-ua-parser-js | no fix listed | UBUNTU-CVE-2026-48125 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
The `Sec-CH-UA-Model` header is part of the User-Agent Client Hints infrastructure. Mobile browsers send this hint to inform servers about the specific device model. Servers use the model name to tailor content, apply device-specific optimizations, or log analytics about which hardware models access a service.
A Regular Expression Denial of Service (ReDoS) vulnerability was found in the ua-parser-js npm package. By sending a crafted `Sec-CH-UA-Model` header to an application that calls `UAParser(headers).withClientHints()`, an attacker can cause the parser to spend excessive CPU time.
A single request with a ~32,000-character model value can consume over 400ms of CPU time, with parsing time growing polynomially with input length. The impact is availability only, there is no confidentiality or integrity impact.
If 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 with ua-parser-js npm package
Upgrading to version 2.0.10+ mitigates this issue, by setting a maximum cap size of UA_MAX_LENGTH = 500.
| Product | Package | State | Advisory |
|---|---|---|---|
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Fix deferred | |
| Red Hat Build of Podman Desktop | rh-podman-desktop.git | Fix deferred | |
| Red Hat Ceph Storage 9 | rhceph/alloy-rhel10 | Fix deferred | |
| Red Hat Enterprise Linux 7 | subscription-manager | Fix deferred | |
| Red Hat Hardened Images | dotnet8.0 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console-rhel9 | Fix deferred | |
| Red Hat OpenShift Container Platform 5 | openshift5/ose-console-rhel9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-48125.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.