CVE-2026-97200
Unbounded response body buffering and decompression in hackney
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| hackneybenoitc | affected: 2.0.0-beta.1 to < 4.9.0 | See vendor advisory |
| benoitc/hackneybenoitc | affected: dc41b79339ca0c41e16d3f2dd17172bc2de855d6 to < 493e8bf83a391548e5101792276ab3fc428fa76c | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-97200
- https://github.com/benoitc/hackney/releases/tag/4.9.0
- https://cna.erlef.org/cves/CVE-2026-97200.html
- https://osv.dev/vulnerability/EEF-CVE-2026-97200
- https://github.com/benoitc/hackney/pull/980
- https://github.com/benoitc/hackney/commit/dc41b79339ca0c41e16d3f2dd17172bc2de855d6
- https://github.com/benoitc/hackney/commit/493e8bf83a391548e5101792276ab3fc428fa76c