CVE-2026-59246
JSON

6.3medium

Zero-length HTTP/2 CONTINUATION frames bypass Mint's header-block byte-size cap and exhaust client memory

Severity
6.3medium CVSS:4.0 by EEF
Exploit likelihood
0.50% (higher than 36% of CVEs)
Published
Last changed
Assigned by
EEF
Also known as
EEF-CVE-2026-59246GHSA-8pf6-g464-h6h9

Description

Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP/2 server to exhaust memory on the client host and cause a denial of service. The Mint.HTTP2.handle_continuation/3 function in lib/mint/http2.ex accumulates the header-block fragment carried by each HTTP/2 CONTINUATION frame into a growing conn.headers_being_processed nesting, one level deeper per frame, and only releases it when a frame with the END_HEADERS flag arrives. The only guard on this accumulator is Mint.HTTP2.assert_header_block_within_max_size/2, which sums the byte size of the fragments received so far. Because a CONTINUATION frame is permitted by the protocol to carry a zero-length payload, an unbounded chain of zero-length CONTINUATION frames adds no bytes to the running total, never trips the size cap, and never emits END_HEADERS, yet each frame still nests the accumulator one level deeper. A malicious HTTP/2 server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can open a stream by sending a HEADERS frame without END_HEADERS and then stream zero-length CONTINUATION frames indefinitely. Client memory grows one cons cell per frame received; sustained bandwidth from the peer drives the BEAM node running the Mint client to memory exhaustion and eventual out-of-memory termination. This issue affects mint: from 0.1.0 before 1.9.2.

Affected

Product or packageVersionsReported by
mintfrom 0.1.0 before 1.9.2CVE List
elixir-mint/mintfrom 596ca4304504be68939c4929e0831557097962b8 before 5779de1666344b32aefc4354184ea07f902f73ceCVE List
mint (Hex)from 0.1.0 before 1.9.2Erlang Ecosystem Foundation
https://github.com/elixir-mint/mintfrom 596ca4304504be68939c4929e0831557097962b8 before 5779de1666344b32aefc4354184ea07f902f73ceErlang Ecosystem Foundation

All scores

EEF6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Erlang Ecosystem FoundationNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP/2 server to exhaust memory on the client host and cause a denial of service. The Mint.HTTP2.handle_continuation/3 function in lib/mint/http2.ex accumulates the header-block fragment carried by each HTTP/2 CONTINUATION frame into a growing conn.headers_being_processed nesting, one level deeper per frame, and only releases it when a frame with the END_HEADERS flag arrives. The only guard on this accumulator is Mint.HTTP2.assert_header_block_within_max_size/2, which sums the byte size of the fragments received so far. Because a CONTINUATION frame is permitted by the protocol to carry a zero-length payload, an unbounded chain of zero-length CONTINUATION frames adds no bytes to the running total, never trips the size cap, and never emits END_HEADERS, yet each frame still nests the accumulator one level deeper. A malicious HTTP/2 server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can open a stream by sending a HEADERS frame without END_HEADERS and then stream zero-length CONTINUATION frames indefinitely. Client memory grows one cons cell per frame received; sustained bandwidth from the peer drives the BEAM node running the Mint client to memory exhaustion and eventual out-of-memory termination. This issue affects mint: from 0.1.0 before 1.9.2.

Erlang Ecosystem Foundation

Summary

Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP/2 server to exhaust memory on the client host and cause a denial of service.

The Mint.HTTP2.handle_continuation/3 function in lib/mint/http2.ex accumulates the header-block fragment carried by each HTTP/2 CONTINUATION frame into a growing conn.headers_being_processed nesting, one level deeper per frame, and only releases it when a frame with the END_HEADERS flag arrives. The only guard on this accumulator is Mint.HTTP2.assert_header_block_within_max_size/2, which sums the byte size of the fragments received so far. Because a CONTINUATION frame is permitted by the protocol to carry a zero-length payload, an unbounded chain of zero-length CONTINUATION frames adds no bytes to the running total, never trips the size cap, and never emits END_HEADERS, yet each frame still nests the accumulator one level deeper.

A malicious HTTP/2 server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can open a stream by sending a HEADERS frame without END_HEADERS and then stream zero-length CONTINUATION frames indefinitely. Client memory grows one cons cell per frame received; sustained bandwidth from the peer drives the BEAM node running the Mint client to memory exhaustion and eventual out-of-memory termination.

This issue affects mint: from 0.1.0 before 1.9.2.

NVD (es)

La vulnerabilidad de asignación de recursos sin límites en elixir-mint mint permite a un servidor HTTP/2 remoto agotar la memoria en el host del cliente y causar una denegación de servicio. La función Mint.HTTP2.handle_continuation/3 en lib/mint/http2.ex acumula el fragmento de bloque de encabezado transportado por cada trama CONTINUATION de HTTP/2 en un anidamiento creciente de conn.headers_being_processed, un nivel más profundo por trama, y solo lo libera cuando llega una trama con la bandera END_HEADERS. La única protección en este acumulador es Mint.HTTP2.assert_header_block_within_max_size/2, que suma el tamaño en bytes de los fragmentos recibidos hasta el momento. Debido a que una trama CONTINUATION está permitida por el protocolo para transportar una carga útil de longitud cero, una cadena ilimitada de tramas CONTINUATION de longitud cero no añade bytes al total acumulado, nunca supera el límite de tamaño y nunca emite END_HEADERS, sin embargo, cada trama anida el acumulador un nivel más profundo. Un servidor HTTP/2 malicioso (accesible directamente, a través de una redirección controlada por un atacante, a través de SSRF, o a través de un man-in-the-middle) puede abrir un flujo enviando una trama HEADERS sin END_HEADERS y luego transmitir tramas CONTINUATION de longitud cero indefinidamente. La memoria del cliente crece una celda cons por cada trama recibida; el ancho de banda sostenido del par lleva al nodo BEAM que ejecuta el cliente Mint al agotamiento de la memoria y a una eventual terminación por falta de memoria. Este problema afecta a mint: desde 0.1.0 antes de 1.9.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59246 changed 2026-11-24CVE Terms of Use
Erlang Ecosystem FoundationEEF-CVE-2026-59246 changed 2026-11-25CC-BY-4.0
NVDCVE-2026-59246 changed 2026-11-24Public domain