Benoitc hackney
Unbounded body accumulation in HTTP/3 response loop in hackney
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-beta.1 before 4.0.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0-beta.1, < 4.0.1
Fixed in 4.0.1
- >= 0334af206d5099fdf510ed9eda18e34396f065ad, < 3d25f9fea26c90609de9d64366fedfe5065413bc
Fixed in 3d25f9fea26c90609de9d64366fedfe5065413bc
Mitigation
Upgrade hackney to 4.0.1 or later.
Upgrade hackney to 3d25f9fea26c90609de9d64366fedfe5065413bc or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| NVD (tagged exploit) | https://github.com/benoitc/hackney/security/advisories/GHSA-jq4m-q6p2-8gwc | unknown | 20 Nov 2026 |