CVE catalog

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

[CVE catalog]

Severity
Medium · CVSS 5.3
Published
Source
[NVD] · [CVE record]
EPSS
0.52% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-ua-parser-jssid2.0.10+ds+~cs0.3.5-1fixed
Debiannode-ua-parser-jsforky2.0.10+ds+~cs0.3.5-1fixed
Debiannode-ua-parser-jstrixie0.8.1+ds+~0.7.36-3vulnerable
Debiannode-ua-parser-jsbookworm0.8.1+ds+~0.7.36-3vulnerable
Cpenode-ua-parser-jsNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-ua-parser-jssourcesid2.0.10+ds+~cs0.3.5-1not yet assignedNot reportedNot reported
Debiannode-ua-parser-jssourceforky2.0.10+ds+~cs0.3.5-1not yet assignedNot reportedNot reported
Debiannode-ua-parser-jssourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiannode-ua-parser-jssourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] node-ua-parser-js: Minor issue [bookworm] node-ua-parser-js: minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.8.1+ds+~0.7.36-3 · all · bookworm

      Affected

      nvd · node-ua-parser-js · debian · bookworm; nvd · node-ua-parser-js · debian · 12

    • 0.8.1+ds+~0.7.36-3 · all · bookworm

      Affected

      nvd · node-ua-parser-js · debian · bookworm; nvd · node-ua-parser-js · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 0.8.1+ds+~0.7.36-3 · all · trixie

      Affected

      nvd · node-ua-parser-js · debian · 13

    • 0.8.1+ds+~0.7.36-3 · all · trixie

      Affected

      nvd · node-ua-parser-js · debian · 13

Observed:

References