Use of Weak Hash Affecting stedolan/jq package, versions [,1.8.2-rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (29th 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 Learn

Learn about Use of Weak Hash vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-STEDOLANJQ-16305523
  • published27 Apr 2026
  • disclosed14 Apr 2026
  • creditAsafMeizner

Introduced: 14 Apr 2026

CVE-2026-40164  (opens in a new tab)
CWE-328  (opens in a new tab)

How to fix?

Upgrade stedolan/jq to version 1.8.2-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Weak Hash in the MurmurHash3 process. An attacker can cause significant CPU exhaustion by supplying a crafted JSON object with keys that all hash to the same bucket, resulting in degraded hash table performance and increased processing time.

CVSS Base Scores

version 4.0
version 3.1