{
  "id": "CVE-2026-47071",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47071",
  "published_at": "2026-05-25T14:00:41.112Z",
  "title": "SOCKS5 TLS upgrade ignores caller timeout in hackney",
  "vendor": "benoitc",
  "product": "hackney",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding.\n\nThe 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.8.1 before 4.0.1.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "benoitc",
        "product": "hackney",
        "ranges": [
          "\u003e= 0.8.1, \u003c 4.0.1"
        ],
        "fixed_in": [
          "4.0.1"
        ]
      },
      {
        "vendor": "benoitc",
        "product": "hackney",
        "ranges": [
          "\u003e= 34cdbd1d20a282aacc286a89327465a3925b4c5d, \u003c 5ccdab725c561a6f03d05a51f2d0664f98236dae"
        ],
        "fixed_in": [
          "5ccdab725c561a6f03d05a51f2d0664f98236dae"
        ]
      }
    ],
    "upgrade": [
      "Upgrade hackney to 4.0.1 or later.",
      "Upgrade hackney to 5ccdab725c561a6f03d05a51f2d0664f98236dae or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/benoitc/hackney/commit/34cdbd1d20a282aacc286a89327465a3925b4c5d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dae"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr",
      "source": "nvd",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-20T11:00:44.487Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
