Skip to main content

hackney EUVDEUVD-2026-31688

| CVE-2026-47077 HIGH
Uncontrolled Resource Consumption (CWE-400)
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure client to attacker HTTP/3 server
  2. Delivery
    Return 200 headers with Fin=false
  3. Exploit
    Drip one chunk every Timeout-1 ms
  4. Execution
    Inactivity timer resets, loop never exits
  5. Persist
    Unbounded body buffer grows on BEAM heap
  6. Impact
    Process 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hackney 0334af206d5099fdf510ed9eda18e34396f065ad <3d25f9fea26c90609de9d64366fedfe5065413bc
hackney 2.0.0 <4.0.1

Affected Packages

euvd hackney fix: 4.0.1

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

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
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
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
High
hackney is a very common HTTP client across Erlang/Elixir deployments
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-97200 HIGH
8.2 Oct 26

Memory exhaustion in the Erlang hackney HTTP client (2.0.0-beta.1 through 4.8.x) lets any server the client requests for

CVE-2026-115700 MEDIUM
6.9 Oct 26

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

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

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