CVE-2026-48125

MEDIUMPre-NVD 5.35.3
EchelonGraph scoreLOW confidence

This medium-severity CVE scores 5.3 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
5.3
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: CVSS: 5.3Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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

Summary

A regular expression denial-of-service (ReDoS) vulnerability has been discovered in ua-parser-js 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 the parser to spend excessive CPU time due to catastrophic backtracking in the device regex:

/ ([\w ]+) miui\/v?\d/i

Unlike when using the User-Agent value, which has a hard limit of UA_MAX_LENGTH = 500, when using Client Hints, values are copied without a length limit before being passed into regex parsing.

PoC

const { UAParser } = require('ua-parser-js');

const headers = { 'sec-ch-ua-platform': '"Android"', 'sec-ch-ua-mobile': '?1', 'sec-ch-ua-model': '"' + 'A '.repeat(25000) + '"' };

const t0 = process.hrtime.bigint(); UAParser(headers).withClientHints(); const ms = Number(process.hrtime.bigint() - t0) / 1e6;

if (ms > 100) { console.log('Potential ReDoS'); }

Impact

This vulnerability allows an unauthenticated attacker to trigger a denial-of-service condition in any __server-side__ application that uses UAParser(headers).withClientHints(). 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.

Affected Versions

ua-parser-js versions >=2.0.1, <=2.0.9 are affected. The withClientHints() API is not present in version 0.7.x or 1.x.

Patches

A patch has been released to fix the vulnerable regular expression and limit the Client Hints input. Users should update to version 2.0.10 or later.

References

Credits

Thanks to @sondt99, who first reported the issue.

CVSS v3
5.3
EG Score
5.3(low)
EPSS
KEV
Not listed

Published

June 15, 2026

Last Modified

June 15, 2026

Vendor Advisories for CVE-2026-48125(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
npm(1)
PackageVulnerable rangeFixed inDependents
ua-parser-js2.0.10

Data Freshness Timeline

(refreshed 7× in last 7d / 22× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-07 02:50 UTCEG score recompute
  2. 2026-07-06 01:57 UTCEG score recompute
  3. 2026-07-05 01:46 UTCEG score recompute
  4. 2026-07-04 01:00 UTCEG score recompute
  5. 2026-07-03 00:20 UTCEG score recompute
  6. 2026-07-02 00:07 UTCEG score recompute
  7. 2026-06-30 23:56 UTCEG score recompute
  8. 2026-06-29 23:35 UTCEG score recompute
  9. 2026-06-28 23:22 UTCEG score recompute
  10. 2026-06-27 23:11 UTCEG score recompute
  11. 2026-06-26 22:56 UTCEG score recompute
  12. 2026-06-25 22:45 UTCEG score recompute
  13. 2026-06-24 22:34 UTCEG score recompute
  14. 2026-06-23 22:24 UTCEG score recompute
  15. 2026-06-22 22:11 UTCEG score recompute
  16. 2026-06-21 21:54 UTCEG score recompute
  17. 2026-06-20 21:43 UTCEG score recompute
  18. 2026-06-19 21:33 UTCEG score recompute
  19. 2026-06-18 21:19 UTCEG score recompute
  20. 2026-06-17 21:08 UTCEG score recompute
  21. 2026-06-16 20:57 UTCEG score recompute
  22. 2026-06-15 20:46 UTCEG score recompute

Frequently asked(4)

What is CVE-2026-48125?
CVE-2026-48125 is a medium vulnerability published on June 15, 2026. UAParser.js: Unbounded Sec-CH-UA-Model parsing can trigger ReDoS in withClientHints() Summary A regular expression denial-of-service (ReDoS) vulnerability has been discovered in ua-parser-js when using the Client Hints API. By sending a crafted Sec-CH-UA-Model header to an application that calls…
When was CVE-2026-48125 disclosed?
CVE-2026-48125 was first published in the National Vulnerability Database on June 15, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-48125?
CVE-2026-48125 has a CVSS v4.0 base score of 5.3 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-48125?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-48125, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-48125

Explore →

Is Your Infrastructure Affected by CVE-2026-48125?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.