Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-47071: CWE-400 Uncontrolled Resource Consumption in benoitc hackney

0
High
VulnerabilityCVE-2026-47071cvecve-2026-47071cwe-400
Published: Mon May 25 2026 (05/25/2026, 14:00:41 UTC)
Source: CVE Database V5
Vendor/Project: benoitc
Product: hackney

Description

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.10.0 before 4.0.1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/25/2026, 18:59:01 UTC

Technical Analysis

The vulnerability in benoitc hackney's SOCKS5 transport occurs because the timeout value used during SOCKS5 negotiation is not forwarded when the connection is upgraded to TLS via ssl:connect/2, which defaults to an infinite timeout. A malicious SOCKS5 proxy can exploit this by completing the handshake and then stalling during the TLS handshake, causing the client process to block indefinitely. This uncontrolled resource consumption can result in denial of service conditions. The affected versions are from 0.10.0 up to but not including 4.0.1.

Potential Impact

An attacker controlling a SOCKS5 proxy can cause the client process using hackney to block indefinitely, leading to resource exhaustion and potential denial of service. This can disrupt applications relying on hackney for network communication through SOCKS5 proxies. There is no indication of data compromise or privilege escalation from the provided information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor the vendor's announcements for updates. Until a fix is available, avoid using untrusted SOCKS5 proxies or implement external timeout controls at the application or network level to mitigate indefinite blocking.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-05-18T17:28:08.322Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a149bd3a5ae1af1aad77321

Added to database: 5/25/2026, 6:58:27 PM

Last enriched: 5/25/2026, 6:59:01 PM

Last updated: 5/26/2026, 7:54:33 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses