CVE-2026-97200

Unbounded response body buffering and decompression in hackney

  • High 8.2

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.

Key facts

Published
26 Oct 2026
Last changed
26 Oct 2026
Assigned by
EEF
EPSS
0.564% likely to be exploited in the next 30 days, higher than 47.465% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: yes; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.2CVSS 4.0, Highfrom the CNA (EEF)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

What to do

  • 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.CNA workaround statement

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

A server the client requests can make the client allocate memory proportional to the body it sends, or to its decompressed size, until the node runs out of memory. (CNA impact statement)

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
benoitchackney
  • Default status: unaffected
  • 2.0.0-beta.1 up to but excluding 4.9.0 (affected)
benoitchackney
  • Default status: unaffected
  • dc41b79339ca0c41e16d3f2dd17172bc2de855d6 up to but excluding 493e8bf83a391548e5101792276ab3fc428fa76c (affected)

Timeline

  1. 26 Oct 2026 Published

Weakness

References