{"id":"CVE-2026-47071","aliases":["EEF-CVE-2026-47071","GHSA-gp9c-pm5m-5cxr"],"url":"https://o3.security/vulnerability/CVE-2026-47071","summary":"SOCKS5 TLS upgrade ignores caller timeout in hackney","details":"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.\n\nThis issue affects hackney: from 0.10.0 before 4.0.1.","published":"2026-05-25T14:00:41.112Z","modified":"2026-08-12T03:51:18.655264725Z","cvss":null,"epss":{"score":0.00753,"percentile":0.5275,"asOf":"2026-09-08"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Hex","name":"hackney","fixedVersion":"4.0.1"}],"fix":{"url":"https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dae","label":"benoitc/hackney@5ccdab7"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-47071.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-47071"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47071.json"},{"type":"ADVISORY","url":"https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47071"},{"type":"FIX","url":"https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dae"},{"type":"PACKAGE","url":"https://github.com/benoitc/hackney"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:18.655264725Z"}}