Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to attacker HTTP/3 server
-
DeliveryReturn 200 headers with Fin=false
-
ExploitDrip one chunk every Timeout-1 ms
-
ExecutionInactivity timer resets, loop never exits
-
PersistUnbounded body buffer grows on BEAM heap
-
ImpactProcess OOM-killed, denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim application use hackney's HTTP/3 transport - either by passing {transport, h3} to hackney:request/5 or by calling hackney_h3 directly; the default TCP/TLS transport is NOT vulnerable. It also requires that the victim be induced to send the request to an attacker-controlled or attacker-influenced HTTP/3 server that returns 200 OK headers with Fin=false and then drips one small chunk faster than the configured Timeout (default 30000 ms) while never sending a final/Fin frame. Limiting factors: HTTP/3 transport is non-default and must be explicitly selected; the client must initiate the connection to the malicious endpoint (this is a client-side DoS, not a server-side listener that can be swept); no authentication or user interaction beyond making the request is needed (PR:N/UI:N); and impact is availability-only (memory exhaustion of the requesting BEAM process/node) with no confidentiality or integrity effect. |
| Impact | Signals are largely consistent and point to a genuine but bounded availability risk. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H) scores 8.2 HIGH with impact restricted to availability only; the AT:P (attack requirements present) flag reflects that the victim must be driven to speak HTTP/3 to an attacker-controlled or attacker-influenced server, and that HTTP/3 transport is non-default. SSVC aligns: Exploitation=poc, Automatable=yes, Technical Impact=partial - an automatable DoS with public PoC but no confirmed active exploitation. EPSS is very low at 0.04% (13th percentile), consistent with a client-side, opt-in-transport DoS that is not mass-exploitable against internet-exposed servers, since the target must initiate the connection. The main tension is between the HIGH 8.2 score and the low real-world exposure: confidentiality/integrity impact is zero and exploitation requires the atypical HTTP/3 transport plus an attacker-influenced endpoint, so for most deployments (which use hackney's default TCP/TLS transport) this is not exploitable at all. Priority should be scaled to whether HTTP/3 transport is actually used. |
| Exploit ScenarioDerived | An attacker stands up (or coerces a client into contacting, via redirect or SSRF-style influence) a malicious HTTP/3 server that returns 200 OK headers with Fin=false, then emits one tiny stream_data chunk every Timeout-1 ms and never sends a final frame. When the victim application issues hackney:request(get, Url, [], <<>>, [{transport, h3}]), the client's await_response_loop never times out and its process heap grows monotonically until the BEAM is killed by max_heap_size or the OS OOM killer. A public PoC following exactly these steps is available in the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Hackney gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
Lifecycle Timeline
2DescriptionCVE.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.
Executive ViewAI
Benoitc hackney versions 2.0.0 through 4.0.0 contain a remote denial-of-service vulnerability enabling memory exhaustion attacks on client applications via HTTP/3. Organizations deploying these versions face service disruption risks when connecting to untrusted or compromised HTTP/3 endpoints.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Denial of service in benoitc hackney (Erlang HTTP client) versions 2.0.0 through 4.0.0 allows a malicious WebSocket serv
Denial of service in benoitc hackney (Erlang HTTP client) 2.0.0 through 4.0.0 allows remote unauthenticated attackers to
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
Denial of service in benoitc hackney (Erlang HTTP client) versions 0.10.0 through 4.0.0 lets a hostile SOCKS5 or HTTP CO
CRLF injection in hackney (Erlang HTTP client, versions 2.0.0-4.0.1) enables header injection into outbound WebSocket up
SSRF allowlist bypass in hackney (Erlang HTTP client) versions 0.13.0 through before 4.0.1 allows attackers who control
HTTP Request Splitting via CRLF injection in hackney, the Erlang/Elixir HTTP client library, allows an attacker who cont
Credential leakage in the hackney Erlang HTTP client library (versions 3.1.1 through before 4.0.1) allows a malicious or
Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers
Memory exhaustion in the Erlang hackney HTTP client (2.0.0-beta.1 through 4.8.x) lets any server the client requests for
Server-side request forgery in the Erlang hackney HTTP client (versions 4.0.1 up to but not including 4.9.0) lets an att
CRLF injection in the hackney Erlang HTTP client library's hackney_cookie:setcookie/3 function enables HTTP response spl
EUVD-2026-31688
GHSA-76v6-f83q-pxvh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB