CVE-2026-47073
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 EEFCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:40.584Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.377Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:53.275Z | OSV |
| affected | verified | 2026-11-19T12:58:40.584Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:40.584Z | CVE 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 JSONOSV · 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | hackney | Not a distribution channel | 4.0.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:53.275ZArchived source JSON
Source publication: 2026-05-25T14:00:49.112Z
Source modification: 2026-07-30T18:22:05.313ZDocument fingerprint
d85b75b9740b08bb66f3cdb23c0e66c2204170fc5c224466d45fabf77c47aeab - OSVConsulted: 2026-11-19T12:52:53.275ZArchived source JSON
Source publication: 2026-06-26T22:00:16.000Z
Source modification: 2026-06-26T22:15:08.679ZDocument fingerprint
d85b75b9740b08bb66f3cdb23c0e66c2204170fc5c224466d45fabf77c47aeab - CVE ProgramConsulted: 2026-11-19T12:58:40.584ZArchived source JSON
Source publication: 2026-05-25T14:00:49.112Z
Source modification: 2026-05-27T15:41:30.606ZDocument fingerprint
38dd0ddc903d25b67ea6bb896ac4da6f4c6572e7c4b9789789f372610c90d22a - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:51.377ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
314533c6cad7257b55626d2ae0cd98a6c49376abfa725a18eb65ebef4059364a
Official status history
- UNKNOWN → PUBLISHED · · evidence