Skip to content

CVE-2026-47077 Unbounded body accumulation in HTTP/3 response loop in hackney

HighCVSS 8.2 EPSS 0.70%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
benoitc hackney >= 0334af206d5099fdf510ed9eda18e34396f065ad, < 3d25f9fea26c90609de9d64366fedfe5065413bc; >= 2.0.0, < 4.0.1; >= 2.0.0-beta.1, < 4.0.1 3d25f9fea26c90609de9d64366fedfe5065413bc, 4.0.1 Fixed
hex hackney(Hex) >= 2.0.0, < 4.0.1 4.0.1 Fixed

Affected products

ProductAffected versionsFixed in
hex hackney(Hex) >= 2.0.0, < 4.0.1 4.0.1
benoitc hackney >= 2.0.0-beta.1, < 4.0.1 4.0.1
benoitc hackney >= 0334af206d5099fdf510ed9eda18e34396f065ad, < 3d25f9fea26c90609de9d64366fedfe5065413bc 3d25f9fea26c90609de9d64366fedfe5065413bc
benoitc hackney >= 2.0.0, < 4.0.1 4.0.1

References