Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: Hackney has an Allocation of Resources Without Limits or Throttling vulnerabilit

Affects hackneySource GCVE Database

0

CVSS 7.5 High : upgrade to 4.0.1 soon.

Data as of 30 Jun 2026, 23:54 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Upgrade hackney to 4.0.1.

Affected software

ProductAffectedFixed in
HexhackneyAffected
  • >=2.0.0 <4.0.1
Fixed in
  • 4.0.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, users should consider limiting exposure to untrusted HTTP/3 servers or implementing external resource limits on BEAM processes to mitigate potential impact.

Description

A vulnerability in the hackney HTTP client library allows unbounded memory allocation when processing HTTP/3 responses. Specifically, the hackney_h3:await_response_loop/6 function accumulates the HTTP/3 response body in memory without any size limit. A malicious HTTP/3 server can send small chunks repeatedly without a final frame, causing the client to keep accumulating data indefinitely. This leads to exhaustion of the BEAM process heap and an out-of-memory condition. The issue affects hackney versions from 2.0.0 up to but not including 4.0.1.

References

Community reviews

Loading reviews…