CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-47073

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.7 · high

Unbounded memory consumption in WebSocket client in hackney

Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. The WebSocket client in src/hackney_ws.erl imposes no upper bound on memory consumption in three code paths. First, read_handshake_response/3 accumulates received bytes into a growing buffer with no size cap; the per-receive timeout resets on every chunk, so a server that streams bytes without ever sending \r\n\r\n causes the buffer to grow until memory is exhausted. Second, parse_payload/9 and parse_active_payload/8 do not validate the declared frame payload length against any limit; because RFC 6455 allows payload lengths up to 2^63-1 bytes, a server that announces a very large frame and dribbles bytes causes the accumulation buffer to grow until OOM. Third, the frag_buffer field in #ws_data{} accumulates continuation frames indefinitely; a server that sends an endless stream of non-final (nofin) fragmented frames without ever sending a final (fin) frame grows frag_buffer without bound. In all three cases the attacker only needs to control the WebSocket server the hackney client connects to, with no authentication or special client configuration required. This issue affects hackney: from 2.0.0 before 4.0.1.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.853% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.7 · published by EEF
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:40.584Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T12:58:40.584ZCVE Program
epssverified2026-11-19T16:04:51.377ZFIRST EPSS
patchesverified2026-11-19T12:52:53.275ZOSV
affectedverified2026-11-19T12:58:40.584ZCVE Program
lifecycleverified2026-11-19T12:58:40.584ZCVE Program

Affected versions and configuration

benoitc hackney; modules: hackney_ws; default status: unaffected: 2.0.0 to < 4.0.1 [affected; scheme: semver] benoitc hackney; modules: hackney_ws; default status: unaffected: 690cecaf236fba49526da404a5bc889a24367a3e to < ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc [affected; scheme: git]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/benoitc/hackney",
      "vendor": "benoitc",
      "modules": [
        "hackney_ws"
      ],
      "product": "hackney",
      "versions": [
        {
          "status": "affected",
          "version": "2.0.0",
          "lessThan": "4.0.1",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:hex/hackney",
      "packageName": "hackney",
      "programFiles": [
        "src/hackney_ws.erl"
      ],
      "collectionURL": "https://repo.hex.pm",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "hackney_ws:read_handshake_response/3"
        },
        {
          "name": "hackney_ws:parse_payload/9"
        },
        {
          "name": "hackney_ws:parse_active_payload/8"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/benoitc/hackney",
      "vendor": "benoitc",
      "modules": [
        "hackney_ws"
      ],
      "product": "hackney",
      "versions": [
        {
          "status": "affected",
          "version": "690cecaf236fba49526da404a5bc889a24367a3e",
          "lessThan": "ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/benoitc/hackney",
      "packageName": "benoitc/hackney",
      "programFiles": [
        "src/hackney_ws.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "hackney_ws:read_handshake_response/3"
        },
        {
          "name": "hackney_ws:parse_payload/9"
        },
        {
          "name": "hackney_ws:parse_active_payload/8"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-47073",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-05-26T15:44:41.043069Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-q8jg-fgj4-fphf",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-05-26T15:44:44.796Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "EEF-CVE-2026-47073",
  "aliases": [
    "CVE-2026-47073",
    "GHSA-q8jg-fgj4-fphf"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "4.0.1"
            }
          ]
        }
      ],
      "package": {
        "name": "hackney",
        "purl": "pkg:hex/hackney",
        "ecosystem": "Hex"
      },
      "versions": [
        "2.0.0",
        "2.0.1",
        "3.0.0",
        "3.0.1",
        "3.0.2",
        "3.0.3",
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.2.0",
        "3.2.1",
        "4.0.0"
      ],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-47073.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-q8jg-fgj4-fphf",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-47073.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney/commit/ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc",
      "type": "FIX"
    },
    {
      "url": "https://hex.pm/packages/hackney",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [
    {
      "ranges": [
        {
          "repo": "https://github.com/benoitc/hackney",
          "type": "GIT",
          "events": [
            {
              "introduced": "690cecaf236fba49526da404a5bc889a24367a3e"
            },
            {
              "fixed": "ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc"
            }
          ]
        }
      ],
      "versions": [],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-47073.json"
      }
    }
  ],
  "database_specific": {
    "cpe_ids": [
      "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
      "CWE-400"
    ],
    "capec_ids": [
      "CAPEC-125"
    ]
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-q8jg-fgj4-fphf",
  "aliases": [
    "CVE-2026-47073",
    "EEF-CVE-2026-47073"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "4.0.1"
            }
          ]
        }
      ],
      "package": {
        "name": "hackney",
        "purl": "pkg:hex/hackney",
        "ecosystem": "Hex"
      },
      "versions": [
        "2.0.0",
        "2.0.1",
        "3.0.0",
        "3.0.1",
        "3.0.2",
        "3.0.3",
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.2.0",
        "3.2.1",
        "4.0.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q8jg-fgj4-fphf/GHSA-q8jg-fgj4-fphf.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-q8jg-fgj4-fphf",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47073",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/benoitc/hackney/commit/ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc",
      "type": "WEB"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-47073.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney",
      "type": "PACKAGE"
    },
    {
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-47073",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-05-25T15:16:22Z",
    "github_reviewed_at": "2026-06-26T22:00:16Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packagehackneyNot a distribution channel4.0.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history