CVE-2026-97200
High 8.2No known exploitationFix availableUnbounded response body buffering and decompression in hackney
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 48% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Allocation of Resources Without Limits or Throttling vulnerability in hackney_conn in benoitc hackney allows a malicious HTTP server to exhaust client memory via an oversized or highly compressed response body. hackney:request/5 and hackney:body/1 return the whole response body, and nothing bounds how much the connection process buffers. Any server the client requests can trigger it. hackney_conn:read_full_body/2 and the HTTP/2 and HTTP/3 accumulators append every chunk until the body ends. With {auto_decompress, true} the buffered body is then inflated in one step with zlib:gunzip/1 or zlib:inflate/2, which return the whole output at once. This issue affects hackney: from 2.0.0-beta.1 before 4.9.0.
Weakness: CWE-409, CWE-770
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- Leave auto_decompress disabled (the default). Without it hackney_conn:maybe_decompress_body/2 never inflates the body, which closes the amplification half. The uncapped raw body read has no workaround. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| benoitc | hackney | from 2.0.0-beta.1 before 4.9.0 | 4.9.0 | CVE Program |
| benoitc | hackney | from dc41b79339ca0c41e16d3f2dd17172bc2de855d6 before 493e8bf83a391548e5101792276ab3fc428fa76c | 493e8bf83a391548e5101792276ab3fc428fa76c | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 493e8bf in benoitc/hackney (opens in a new tab)patch
- hackney 4.9.0 release notes (opens in a new tab)vendor-advisory, related
- EEF CNA record for CVE-2026-97200 (opens in a new tab)related
- Introducing commit dc41b79 in benoitc/hackney (opens in a new tab)related
- Cap buffered response bodies with max_body_size and bound decompression (benoitc/hackney#980) (opens in a new tab)related
- OSV record EEF-CVE-2026-97200 (opens in a new tab)related