Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Benoitc | Hackney | >= 0.10.0, < 4.0.1 |
Related Weaknesses (CWE)
References
- https://cna.erlef.org/cves/CVE-2026-47071.htmlPatchThird Party Advisory
- https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dPatch
- https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxrExploitPatchVendor Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-47071PatchThird Party Advisory
- https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxrExploitPatchVendor Advisory
FAQ
What is CVE-2026-47071?
CVE-2026-47071 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 negotiati...
How severe is CVE-2026-47071?
CVE-2026-47071 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-47071?
Check the references section above for vendor advisories and patch information. Affected products include: Benoitc Hackney.