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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-14 · Modified: 2026-07-15
- Aliases: UBUNTU-CVE-2026-48125, DEBIAN-CVE-2026-48125, GHSA-9h5v-pfqq-x599
- Record: https://cvemate.com/vulnerability/CVE-2026-48125 · JSON: https://cvemate.com/vulnerability/CVE-2026-48125/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.445%, percentile 40.401%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian node-ua-parser-js (Debian): All versions (No fix recorded) \| \< 2.0.10+ds+~cs0.3.5-1
- ubuntu node-ua-parser-js (Ubuntu): All versions (No fix recorded)
- faisalman ua-parser-js: ≥ 2.0.1, \< 2.0.10
- Npm ua-parser-js (Npm): ≥ 2.0.1, \< 2.0.10
- ua-parser-js\_project ua-parser-js: ≥ 2.0.1, \< 2.0.10

## References

- <https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-9h5v-pfqq-x599>
- <https://github.com/faisalman/ua-parser-js/commit/90354d3458495628b1d3ba68a9d76673e6d14fc5>
- <https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10>
- <https://ubuntu.com/security/CVE-2026-48125>
- <https://www.cve.org/CVERecord?id=CVE-2026-48125>
- <https://security-tracker.debian.org/tracker/CVE-2026-48125>
- <https://github.com/faisalman/ua-parser-js>

---

Data as of 2026-12-05T18:39:40.406Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
