{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-47073",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-05-18T17:28:08.322Z",
        "datePublished": "2026-05-25T14:00:49.112Z",
        "dateUpdated": "2026-11-20T08:08:59.299Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "hackney_ws"
                    ],
                    "packageName": "hackney",
                    "packageURL": "pkg:hex/hackney",
                    "product": "hackney",
                    "programFiles": [
                        "src/hackney_ws.erl"
                    ],
                    "programRoutines": [
                        {
                            "name": "hackney_ws:read_handshake_response/3"
                        },
                        {
                            "name": "hackney_ws:parse_payload/9"
                        },
                        {
                            "name": "hackney_ws:parse_active_payload/8"
                        }
                    ],
                    "repo": "https://github.com/benoitc/hackney",
                    "vendor": "benoitc",
                    "versions": [
                        {
                            "lessThan": "4.0.1",
                            "status": "affected",
                            "version": "2.0.0-beta.1",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "hackney_ws"
                    ],
                    "packageName": "benoitc/hackney",
                    "packageURL": "pkg:github/benoitc/hackney",
                    "product": "hackney",
                    "programFiles": [
                        "src/hackney_ws.erl"
                    ],
                    "programRoutines": [
                        {
                            "name": "hackney_ws:read_handshake_response/3"
                        },
                        {
                            "name": "hackney_ws:parse_payload/9"
                        },
                        {
                            "name": "hackney_ws:parse_active_payload/8"
                        }
                    ],
                    "repo": "https://github.com/benoitc/hackney",
                    "vendor": "benoitc",
                    "versions": [
                        {
                            "lessThan": "ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc",
                            "status": "affected",
                            "version": "690cecaf236fba49526da404a5bc889a24367a3e",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "4.0.1",
                                    "versionStartIncluding": "2.0.0-beta.1",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "analyst",
                    "value": "Jonatan Männchen / EEF"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Benoit Chesneau"
                }
            ],
            "datePublic": "2026-05-25T14:00:49.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding.</p>\n<p>The WebSocket client in <code>src/hackney_ws.erl</code> imposes no upper bound on memory consumption in three code paths. First, <code>read_handshake_response/3</code> 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 <code>\\r\\n\\r\\n</code> causes the buffer to grow until memory is exhausted. Second, <code>parse_payload/9</code> and <code>parse_active_payload/8</code> 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 <code>frag_buffer</code> field in <code>#ws_data{}</code> accumulates continuation frames indefinitely; a server that sends an endless stream of non-final (<code>nofin</code>) fragmented frames without ever sending a final (<code>fin</code>) frame grows <code>frag_buffer</code> without bound.</p>\n<p>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.</p>\n<p>This issue affects hackney: from 2.0.0-beta.1 before 4.0.1.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding.\n\nThe 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.\n\nIn 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.\n\nThis issue affects hackney: from 2.0.0-beta.1 before 4.0.1."
                        }
                    ],
                    "value": "Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding.\n\nThe 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.\n\nIn 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.\n\nThis issue affects hackney: from 2.0.0-beta.1 before 4.0.1."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-125",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-125 Flooding"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "attackVector": "NETWORK",
                        "baseScore": 8.7,
                        "baseSeverity": "HIGH",
                        "privilegesRequired": "NONE",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "HIGH",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "description": "CWE-400 Uncontrolled Resource Consumption",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-11-20T08:08:59.299Z"
            },
            "references": [
                {
                    "name": "Unbounded buffer accumulation in WebSocket",
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-q8jg-fgj4-fphf"
                },
                {
                    "name": "EEF CNA record for CVE-2026-47073",
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-47073.html"
                },
                {
                    "name": "OSV record EEF-CVE-2026-47073",
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-47073"
                },
                {
                    "name": "Introducing commit 690ceca in benoitc/hackney",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/benoitc/hackney/commit/690cecaf236fba49526da404a5bc889a24367a3e"
                },
                {
                    "name": "Fix commit ce0109e in benoitc/hackney",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/benoitc/hackney/commit/ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Unbounded memory consumption in WebSocket client in hackney"
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-q8jg-fgj4-fphf",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-05-26T15:44:41.043069Z",
                                "id": "CVE-2026-47073",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-05-26T15:44:44.796Z"
                }
            }
        ]
    }
}