CVE-2026-59249

Inconsistent interpretation of HTTP requests (HTTP response smuggling) vulnerability in elixir-mint mint allows a malicious HTTP/1 server to desynchronize a strict intermediary and the Mint client on the same pooled connection, enabling response-queue poisoning against subsequent requests that share the connection. The Mint.HTTP1.decode_body/5 function in lib/mint/http1.ex parses the chunk-size line of a Transfer-Encoding: chunked response with Integer.parse(data, 16). RFC 7230 defines chunk-size = 1*HEXDIG and forbids any sign prefix, but Integer.parse/2 accepts an optional leading + or -. A chunk-size line of +5 is accepted as a five-byte chunk; lines of +0 and -0 are accepted as the terminating zero-length chunk and end the message body early. An RFC-strict intermediary in the response path rejects these forms, so the intermediary and the Mint client disagree on where one response ends and the next begins. On a pooled keep-alive connection, an attacker-influenced origin can inject bytes that the client attributes to the next legitimate response on the same connection, poisoning the response queue and corrupting the responses returned to unrelated in-flight requests. This issue affects mint: from 0.1.0 before 1.9.3.
CVSS

No CVSS.

Configurations

No configuration.

History

24 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) La vulnerabilidad de interpretación inconsistente de solicitudes HTTP (contrabando de respuestas HTTP) en elixir-mint mint permite a un servidor HTTP/1 malicioso desincronizar a un intermediario estricto y al cliente Mint en la misma conexión agrupada, lo que permite el envenenamiento de la cola de respuestas contra solicitudes subsiguientes que comparten la conexión. La función Mint.HTTP1.decode_body/5 en lib/mint/http1.ex analiza la línea de tamaño de fragmento de una respuesta Transfer-Encoding: chunked con Integer.parse(data, 16). RFC 7230 define chunk-size = 1HEXDIG y prohíbe cualquier prefijo de signo, pero Integer.parse/2 acepta un + o - inicial opcional. Una línea de tamaño de fragmento de +5 se acepta como un fragmento de cinco bytes; las líneas de +0 y -0 se aceptan como el fragmento terminador de longitud cero y terminan el cuerpo del mensaje prematuramente. Un intermediario estricto según RFC en la ruta de respuesta rechaza estas formas, por lo que el intermediario y el cliente Mint no están de acuerdo sobre dónde termina una respuesta y comienza la siguiente. En una conexión keep-alive agrupada, un origen influenciado por el atacante puede inyectar bytes que el cliente atribuye a la siguiente respuesta legítima en la misma conexión, envenenando la cola de respuestas y corrompiendo las respuestas devueltas a solicitudes en curso no relacionadas. Este problema afecta a mint: desde 0.1.0 antes de 1.9.3.

Information

Published : 2026-07-16 12:18

Updated : 2026-10-24 21:10


NVD link : CVE-2026-59249

Mitre link : CVE-2026-59249

CVE.ORG link : CVE-2026-59249


JSON object : View

Products Affected

No product.

CWE
CWE-444

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')