ADVISORIES

Vulnerability

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.

4 advisories report this vulnerability, across 4 ecosystems.

Medium severity All Debian 1Red Hat 1Ubuntu 1npm 1

Advisories

  • DEBIAN-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…

    CVE-2026-48125 Debian Updated 25 October 2026
  • GHSA-9h5v-pfqq-x599

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

    Moderate CVE-2026-48125 npm Updated 15 June 2026
  • RHVEX-CVE-2026-48125

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

    Moderate CVE-2026-48125 Red Hat Updated 5 November 2026
  • UBUNTU-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…

    CVE-2026-48125 Ubuntu Updated 17 October 2026

References