CVE-2026-47071

HIGH CVSS 4.0: 8.2 EPSS 0.75%
Updated Nov 20, 2026
Benoitc
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions 0.10.0 — 4.0.1
Fixed In 4.0.1
Type CWE-400 (Uncontrolled Resource Consumption)
Vendor Benoitc
Public PoC No

Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding. The SOCKS5 transport in src/hackney_socks5.erl correctly applies the caller-supplied timeout to the SOCKS5 negotiation phase, but then upgrades the connection to TLS using the two-argument form ssl:connect/2, which defaults to an infinite timeout. The Timeout value is in scope at the call site but is not forwarded.

A hostile SOCKS5 proxy that completes the SOCKS5 handshake normally and then goes silent (or sends a partial TLS ServerHello and stalls) will cause the connecting process to block indefinitely, regardless of the connect_timeout or recv_timeout options supplied by the caller. This issue affects hackney: from 0.8.1 before 4.0.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Benoitc Hackney
cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*
0.10.0 4.0.1