CVE-2026-97200
published high CVSS 4.0 · 8.2Unbounded response body buffering and decompression in hackney
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benoitc | — | hackney2.0.0-beta.1 to < 4.9.0 · Other versions: unaffected | Affected | Not stated | EEF |
| benoitc | — | benoitc/hackneyhackney · dc41b79339ca0c41e16d3f2dd17172bc2de855d6 to < 493e8bf83a391548e5101792276ab3fc428fa76c · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benoitc | hackney | 2.0.0-beta.1 to < 4.9.0 (affected · semver)Default: unaffected | EEF · cna |
| benoitc | hackney | dc41b79339ca0c41e16d3f2dd17172bc2de855d6 to < 493e8bf83a391548e5101792276ab3fc428fa76c (affected · git)Default: unaffected | EEF · cna |
Weaknesses
2- CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
6- EEF CNA record for CVE-2026-97200 https://cna.erlef.org/cves/CVE-2026-97200.html
- Fix commit 493e8bf in benoitc/hackney https://github.com/benoitc/hackney/commit/493e8bf83a391548e5101792276ab3fc428fa76c
- Introducing commit dc41b79 in benoitc/hackney https://github.com/benoitc/hackney/commit/dc41b79339ca0c41e16d3f2dd17172bc2de855d6
- Cap buffered response bodies with max_body_size and bound decompression (benoitc/hackney#980) https://github.com/benoitc/hackney/pull/980
- hackney 4.9.0 release notes https://github.com/benoitc/hackney/releases/tag/4.9.0
- OSV record EEF-CVE-2026-97200 https://osv.dev/vulnerability/EEF-CVE-2026-97200
Provider assertions
2EEF · cna
Unbounded response body buffering and decompression in hackney
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e9965aa2ada5b60c58014d27cb448e6df88922c86b6de139487dbce16a8728ba
- Ingested
- 19 Nov 2026, 08:22:50 UTC
- Source record
- Official CVE record