Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-47073

HIGH 8.7EPSS 55%

Unbounded memory consumption in WebSocket client in hackney

Mitigation

  • Upgrade hackney to 4.0.1 or later.

Who should check

  • Anyone running benoitc hackney >= 2.0.0-beta.1, < 4.0.1
  • Anyone running benoitc hackney >= 690cecaf236fba49526da404a5bc889a24367a3e, < ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc

Vulnerability facts

Affected
benoitc hackney >= 2.0.0-beta.1, < 4.0.1; benoitc hackney >= 690cecaf236fba49526da404a5bc889a24367a3e, < ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc
Fixed in
benoitc hackney 4.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.82% chance of exploitation in 30 days (percentile 55, 2026-11-26)
CWE
CWE-400
Published
Modified

Description

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-beta.1 before 4.0.1.

Affected and fixed versions

Package / productAffectedFixedSource
benoitc hackney>= 2.0.0-beta.1, < 4.0.1—cvelist
benoitc hackney>= 690cecaf236fba49526da404a5bc889a24367a3e, < ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-47073. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47073.md
Affected: benoitc hackney >= 2.0.0-beta.1, < 4.0.1; benoitc hackney >= 690cecaf236fba49526da404a5bc889a24367a3e, < ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc
Fixed in: benoitc hackney 4.0.1

Steps:
1. Search this machine and project for benoitc hackney: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-47073 being exploited?

There is no confirmed exploitation: CVE-2026-47073 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-47073?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-47073?

benoitc hackney >= 2.0.0-beta.1, < 4.0.1; benoitc hackney >= 690cecaf236fba49526da404a5bc889a24367a3e, < ce0109e2970ace6e20ff29bae9d05c3ac22ec6dc.

Is there a fix for CVE-2026-47073?

Yes. Fixed in benoitc hackney 4.0.1. Upgrade hackney to 4.0.1 or later.

How do I check if I'm affected by CVE-2026-47073?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors