What’s Vulnerable › Vulnerabilities
CVE-2026-47077: Unbounded body accumulation in HTTP/3 response loop in hackney
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-25 · updated 2026-07-24
- Weakness: CWE-400
Description
Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. hackney_h3:await_response_loop/6 accumulates the HTTP/3 response body in memory without any size cap. The after Timeout clause is a per-message inactivity timer that resets on every received chunk, housekeeping message, or settings frame — it is not a wall-clock deadline. A malicious HTTP/3 server that emits one small chunk every Timeout - 1 ms with Fin = false and never sends a final frame keeps the loop alive indefinitely while the accumulation buffer grows linearly without bound, eventually exhausting the BEAM process heap and causing an out-of-memory condition. This issue affects hackney: from 2.0.0 before 4.0.1.
Affected products
- benoitc hackney: from 2.0.0 before 4.0.1 — fixed in 4.0.1
How to fix
Upgrade to a fixed version: benoitc hackney 4.0.1. Check the vendor advisory for mitigations.
References
- https://cna.erlef.org/cves/CVE-2026-47077.html
- https://github.com/benoitc/hackney/commit/3d25f9fea26c90609de9d64366fedfe5065413bc
- https://github.com/benoitc/hackney/security/advisories/GHSA-jq4m-q6p2-8gwc
- https://osv.dev/vulnerability/EEF-CVE-2026-47077
- https://github.com/benoitc/hackney/security/advisories/GHSA-jq4m-q6p2-8gwc
Get alerted when CVE-2026-47077 or the next vulnerability affects your stack