Allocation of Resources Without Limits or Throttling Affecting hackney package, versions >=2.0.0 <4.0.1


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.79% (52nd 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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-HEX-HACKNEY-16877830
  • published26 May 2026
  • disclosed25 May 2026
  • creditPJUllrich

Introduced: 25 May 2026

NewCVE-2026-47073  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade hackney to version 4.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the hackney_ws frame and handshake receive paths in the WebSocket client. An attacker can exhaust memory by acting as a hostile WebSocket server and sending a frame with a huge declared length while trickling payload bytes, streaming an upgrade response without the CRLFCRLF terminator, or sending an endless chain of non-final continuation fragments. The vulnerable code buffers frame payloads, fragmented message data, and handshake response bytes without bounds, so a remote peer can drive the client into OOM and crash the process. This can terminate client applications and interrupt WebSocket connections and any work that depends on them.

CVSS Base Scores

version 4.0
version 3.1