Skip to main content

hackney CVE-2026-47077

| EUVDEUVD-2026-31688 HIGH
Uncontrolled Resource Consumption (CWE-400)
8.2
CVSS 4.0 · Vendor: EEF
Share

Severity by source

Vendor (EEF) PRIMARY
8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.9 MEDIUM

AC:H because the client must use the non-default HTTP/3 transport and reach an attacker-influenced server; PR:N/UI:N as no auth or interaction beyond the request; impact is availability-only (A:H), with C/I:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
Source Code Evidence Fetched
Jul 23, 2026 - 17:16 vuln.today
Analysis Generated
Jul 23, 2026 - 17:16 vuln.today
CVE Published
May 25, 2026 - 14:00 cve.org
HIGH 8.2
CVE Published
May 25, 2026 - 14:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. hackney_h3:await_response_loop/6 accumulates the HTTP/3 response body in memory without any size cap. The after Timeout clause is a per-message inactivity timer that resets on every received chunk, housekeeping message, or settings frame - it is not a wall-clock deadline. A malicious HTTP/3 server that emits one small chunk every Timeout - 1 ms with Fin = false and never sends a final frame keeps the loop alive indefinitely while the accumulation buffer grows linearly without bound, eventually exhausting the BEAM process heap and causing an out-of-memory condition.

This issue affects hackney: from 2.0.0 before 4.0.1.

AnalysisAI

Remote denial of service in benoitc hackney 2.0.0 through 4.0.0 lets a malicious HTTP/3 server exhaust a client's BEAM process memory by trickling response chunks. The hackney_h3:await_response_loop/6 function buffers the entire HTTP/3 body in memory with no size cap while its 'after Timeout' guard behaves as a per-message inactivity timer that any incoming chunk resets, so a server that emits one small chunk just before each timeout and never sends Fin keeps the loop alive while the buffer grows without bound. Publicly available exploit code exists and a vendor patch (4.0.1) is released, but EPSS is only 0.04% and the flaw is not in CISA KEV, so it is not confirmed actively exploited.

Technical ContextAI

hackney is a widely used HTTP client library for the Erlang/Elixir (BEAM) ecosystem. The bug is confined to its HTTP/3 transport module src/hackney_h3.erl. Root cause is CWE-400 (Uncontrolled Resource Consumption / Allocation of Resources Without Limits or Throttling): await_response_loop/6 concatenates each received stream_data chunk with NewBody = <<AccBody/binary, Data/binary>> and never checks a maximum body size, while the receive loop's 'after Timeout' clause is restarted on every iteration rather than measured against an absolute deadline. Because the timer is reset by any stream_data chunk, housekeeping 'select' message, or 'settings' frame, it is an inactivity timer, not a wall-clock deadline. The same module already contained the correct pattern in wait_connected/3 (tracking an absolute start time and passing a shrinking Remaining budget), which was not applied to the response loop. On the BEAM, unbounded binary accumulation grows the process heap until max_heap_size or the OS OOM killer terminates the process.

RemediationAI

Vendor-released patch: upgrade hackney to 4.0.1, which introduces an absolute wall-clock deadline for the whole response and a default 512 MiB (0x20000000) cap on the buffered body via the new max_body_size option (fix commit 3d25f9fea26c90609de9d64366fedfe5065413bc, advisory GHSA-jq4m-q6p2-8gwc). If you cannot upgrade immediately, avoid the vulnerable code path by not using the HTTP/3 transport - do not pass {transport, h3} to hackney:request/5 and do not call hackney_h3 directly, so requests use the unaffected default TCP/TLS transport, at the cost of losing HTTP/3 support. Where HTTP/3 is required, restrict which servers clients may connect to (allowlist trusted endpoints) so an attacker cannot influence the request target, and on 4.0.1+ set an explicit conservative max_body_size while relying on the wall-clock timeout; for legitimately very large downloads, use hackney's streaming API instead of the buffered await path so the body is not held entirely in memory.

CVE-2026-47073 HIGH POC
8.7 May 25

Denial of service in benoitc hackney (Erlang HTTP client) versions 2.0.0 through 4.0.0 allows a malicious WebSocket serv

CVE-2026-47067 HIGH POC
8.7 May 25

Denial of service in benoitc hackney (Erlang HTTP client) 2.0.0 through 4.0.0 allows remote unauthenticated attackers to

CVE-2026-47066 HIGH POC
8.7 May 25

Denial-of-service in benoitc's hackney Erlang HTTP client (versions 2.0.0-beta.1 through 4.0.0) allows any HTTP origin s

CVE-2026-47071 HIGH POC
8.2 May 25

Denial of service in benoitc hackney (Erlang HTTP client) versions 0.10.0 through 4.0.0 lets a hostile SOCKS5 or HTTP CO

CVE-2026-47072 MEDIUM POC
6.9 May 25

CRLF injection in hackney (Erlang HTTP client, versions 2.0.0-4.0.1) enables header injection into outbound WebSocket up

CVE-2026-47076 MEDIUM POC
6.9 May 25

SSRF allowlist bypass in hackney (Erlang HTTP client) versions 0.13.0 through before 4.0.1 allows attackers who control

CVE-2026-47075 MEDIUM POC
6.8 May 25

HTTP Request Splitting via CRLF injection in hackney, the Erlang/Elixir HTTP client library, allows an attacker who cont

CVE-2026-47070 MEDIUM POC
6.0 May 25

Credential leakage in the hackney Erlang HTTP client library (versions 3.1.1 through before 4.0.1) allows a malicious or

CVE-2026-47069 LOW POC
2.1 May 25

CRLF injection in the hackney Erlang HTTP client library's hackney_cookie:setcookie/3 function enables HTTP response spl

Share

CVE-2026-47077 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy