Skip to content

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

MediumCVSS 5.3 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

18 packages: 3 fixed, 14 with no fix yet.

PackageAffectedFixed inStatus
debian/node-ua-parser-js(Debian 12) = 0.8.1+ds+~0.7.36-3; = 2.0.10+ds+~cs0.3.5-1; All versions No fix listed No fix yet
debian/node-ua-parser-js(Debian 13) = 0.8.1+ds+~0.7.36-3; = 2.0.10+ds+~cs0.3.5-1; All versions No fix listed No fix yet
redhat/gatekeeper/gatekeeper-rhel9(Red Hat gatekeeper 3) All versions No fix listed No fix yet
redhat/openshift4/ose-console(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift4/ose-console-rhel9(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift5/ose-console-rhel9(Red Hat openshift 5) All versions No fix listed No fix yet
redhat/rh-podman-desktop.git(Red Hat podman_desktop 1) All versions No fix listed No fix yet
redhat/rhceph/alloy-rhel10(Red Hat ceph_storage 9) All versions No fix listed No fix yet
redhat/rhmtc/openshift-migration-ui-rhel8(Red Hat rhmt 1) All versions No fix listed No fix yet
redhat/subscription-manager(Red Hat rhel_els 7) All versions No fix listed No fix yet
ubuntu/node-ua-parser-js(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-ua-parser-js(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-ua-parser-js(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-ua-parser-js(Ubuntu 26.10) All versions No fix listed No fix yet
debian/node-ua-parser-js(Debian 14) < 2.0.10+ds+~cs0.3.5-1; = 0.8.1+ds+~0.7.36-3 2.0.10+ds+~cs0.3.5-1 Fixed
npm ua-parser-js(npm) >= 2.0.1, < 2.0.10 2.0.10 Fixed
ua-parser-js project ua-parser-js >= 2.0.1, < 2.0.10 2.0.10 Fixed
faisalman ua-parser-js = >= 2.0.1, < 2.0.10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
faisalman ua-parser-js = >= 2.0.1, < 2.0.10 No fix listed
debian/node-ua-parser-js(Debian:12) All versions No fix listed
debian/node-ua-parser-js(Debian:14) < 2.0.10+ds+~cs0.3.5-1 2.0.10+ds+~cs0.3.5-1
debian/node-ua-parser-js(Debian:13) All versions No fix listed
redhat/gatekeeper/gatekeeper-rhel9(Red Hat:gatekeeper:3) All versions No fix listed
redhat/rhmtc/openshift-migration-ui-rhel8(Red Hat:rhmt:1) All versions No fix listed
redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) All versions No fix listed
redhat/rhceph/alloy-rhel10(Red Hat:ceph_storage:9) All versions No fix listed
redhat/subscription-manager(Red Hat:rhel_els:7) All versions No fix listed
redhat/openshift4/ose-console(Red Hat:openshift:4) All versions No fix listed
redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) All versions No fix listed
redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) All versions No fix listed
npm ua-parser-js(npm) >= 2.0.1, < 2.0.10 2.0.10
debian/node-ua-parser-js(Debian:12) = 0.8.1+ds+~0.7.36-3 No fix listed
debian/node-ua-parser-js(Debian:12) = 2.0.10+ds+~cs0.3.5-1 No fix listed
debian/node-ua-parser-js(Debian:13) = 0.8.1+ds+~0.7.36-3 No fix listed
debian/node-ua-parser-js(Debian:13) = 2.0.10+ds+~cs0.3.5-1 No fix listed
debian/node-ua-parser-js(Debian:14) = 0.8.1+ds+~0.7.36-3 No fix listed
ubuntu/node-ua-parser-js(Ubuntu:22.04) All versions No fix listed
ubuntu/node-ua-parser-js(Ubuntu:24.04) All versions No fix listed
ubuntu/node-ua-parser-js(Ubuntu:26.04) All versions No fix listed
ubuntu/node-ua-parser-js(Ubuntu:26.10) All versions No fix listed
ua-parser-js project ua-parser-js >= 2.0.1, < 2.0.10 2.0.10

References