Resource Exhaustion Affecting node-ua-parser-js package, versions <2.0.10+ds+~cs0.3.5-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.52% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEUAPARSERJS-17996989
  • published17 Jul 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

CVE-2026-48125  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-ua-parser-js to version 2.0.10+ds+~cs0.3.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-ua-parser-js package and not the node-ua-parser-js package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1