Security mailing lists by PureSourceCode

CVE-2026-47071

HIGH 8.2CVSS 4.0

SOCKS5 TLS upgrade ignores caller timeout in hackney

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.

Published
25 May 2026
Last modified
26 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Modified
Weakness
CWE-400
Also known as
EEF-CVE-2026-47071GHSA-gp9c-pm5m-5cxr
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-47071JSONOSV GHSA-gp9c-pm5m-5cxrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 HIGH 8.2 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 HIGH 8.2 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD benoitc hackney
cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*
>= 0.10.0, < 4.0.1 4.0.1
CVE List https://repo.hex.pm hackney
cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*
>= 0.8.1, < 4.0.1 4.0.1
CVE List https://github.com benoitc/hackney
cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*
>= 34cdbd1d20a282aacc286a89327465a3925b4c5d, < 5ccdab725c561a6f03d05a51f2d0664f98236dae 5ccdab725c561a6f03d05a51f2d0664f98236dae
OSV Hex hackney >= 0.8.1, < 4.0.1 4.0.1
OSV Hex hackney >= 0.10.0, < 4.0.1 4.0.1

References

History

  • 26 Nov 2026 18:37 UTC · OSV: updated (other details)
  • 25 Nov 2026 20:32 UTC · CVE List: first stored (published 25 May 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 May 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Jun 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 25 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.