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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-15T20:15:02.000Z
- Modified: 2026-10-24T21:10:00.130Z
- Also known as: GHSA-9h5v-pfqq-x599
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- faisalman ua-parser-js: >= 2.0.1, < 2.0.10
- ua-parser-js (npm): from 2.0.1 before 2.0.10
- ua-parser-js_project ua-parser-js: from 2.0.1 before 2.0.10

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-9h5v-pfqq-x599> (exploit, vendor-advisory, web)
- <https://github.com/faisalman/ua-parser-js/commit/90354d3458495628b1d3ba68a9d76673e6d14fc5> (patch)
- <https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10> (release-notes)
- <https://github.com/faisalman/ua-parser-js> (package)

## Sources

- CVE List: [CVE-2026-48125](https://www.cve.org/CVERecord?id=CVE-2026-48125), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-9h5v-pfqq-x599](https://github.com/advisories/GHSA-9h5v-pfqq-x599), CC-BY-4.0, modified 2026-06-15
- NVD: [CVE-2026-48125](https://nvd.nist.gov/vuln/detail/CVE-2026-48125), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-48125 · Whole record: https://cve.day/CVE-2026-48125.json · Rebuilt by cve.day 2026-11-25T22:59:28.216Z
