CVE-2026-42584
JSON

7.3high

Netty: HttpClientCodec response desynchronization

Severity
7.3high CVSS:3.1 by GitHub_M
Exploit likelihood
0.72% (higher than 50% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-57rv-r2g8-2cj3

Description

Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpClientCodec pairs each inbound response with an outbound request by queue.poll() once per response, including for 1xx. If the client pipelines GET then HEAD and the server sends 103, then 200 with GET body, then 200 for HEAD, the queue pairs HEAD with the first 200. The HEAD rule then skips reading that message’s body, so the GET entity bytes stay on the stream and the following 200 is parsed from the wrong offset. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.

Affected

Product or packageVersionsReported by
netty netty>= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final, before 4.1.133, from 4.2.0 before 4.2.13CVE List, NVD
io.netty netty-codec-http>= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.FinalCVE List
cryostat/cryostat-reports-rhel9Not specified
Not affected: from 4.2.0-10 before *
CVE List
cryostat/cryostat-rhel9Not specified
Not affected: from 4.2.0-10 before *
CVE List
cryostat/jfr-datasource-rhel9Not specified
Not affected: from 4.2.0-10 before *
CVE List
nettyNot specified
Not affected: from codec-http before *
CVE List
Red Hat Red Hat build of Quarkus 3.33.2Not specifiedCVE List
eap7-activemq-artemisNot specified
Not affected: from 0:2.16.0-22.redhat_00057.1.el7eap before *, from 0:2.16.0-22.redhat_00057.1.el8eap before *, from 0:2.16.0-22.redhat_00057.1.el9eap before *
CVE List
eap7-glassfish-jsfNot specified
Not affected: from 0:2.3.14-11.SP11_redhat_00001.1.el7eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el8eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el9eap before *
CVE List
eap7-ironjacamarNot specified
Not affected: from 0:1.5.26-2.Final_redhat_00001.1.el7eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el8eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el9eap before *
CVE List
eap7-jackson-annotationsNot specified
Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before *
CVE List
eap7-jackson-coreNot specified
Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before *
CVE List

All scores

GitHub_M7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
redhat-SADP7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-444

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

What each source says

CVE List

Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpClientCodec pairs each inbound response with an outbound request by queue.poll() once per response, including for 1xx. If the client pipelines GET then HEAD and the server sends 103, then 200 with GET body, then 200 for HEAD, the queue pairs HEAD with the first 200. The HEAD rule then skips reading that message’s body, so the GET entity bytes stay on the stream and the following 200 is parsed from the wrong offset. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.

GitHub Advisory Database
Summary

If HttpClientCodec is configured, there are use cases when a response body from one request, can be parsed as another's.

Details

HttpClientCodec pairs each inbound response with an outbound request by queue.poll() once per response, including for 1xx. If the client pipelines GET then HEAD and the server sends 103, then 200 with GET body, then 200 for HEAD, the queue pairs HEAD with the first 200. The HEAD rule then skips reading that message’s body, so the GET entity bytes stay on the stream and the following 200 is parsed from the wrong offset.

Prerequisites

  • HTTP/1.1 pipelining
  • HEAD in the pipeline
  • The server sends 1xx
PoC
    @Test
    public void test() {
        EmbeddedChannel channel = new EmbeddedChannel(new HttpClientCodec());

        assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/1")));
        ByteBuf request = channel.readOutbound();
        request.release();
        assertNull(channel.readOutbound());

        assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.HEAD, "/2")));
        request = channel.readOutbound();
        request.release();
        assertNull(channel.readOutbound());

        String responseStr = "HTTP/1.1 103 Early Hints\r\n\r\n" +
                "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\nhello" +
                "HTTP/1.1 200 OK\r\n\r\n";
        assertTrue(channel.writeInbound(Unpooled.copiedBuffer(responseStr, CharsetUtil.US_ASCII)));

        // Response 1
        HttpResponse response = channel.readInbound();
        assertEquals(HttpResponseStatus.EARLY_HINTS, response.status());
        LastHttpContent last = channel.readInbound();
        assertEquals(0, last.content().readableBytes());
        last.release();

        // Response 2
        response = channel.readInbound();
        assertEquals(HttpResponseStatus.OK, response.status());
        last = channel.readInbound();
        assertEquals(0, last.content().readableBytes());
        last.release();

        // Response 3
        FullHttpResponse response1 = channel.readInbound();
        assertTrue(response1.decoderResult().isFailure());
        assertEquals(0, response1.content().readableBytes());
        response1.release();

        assertFalse(channel.finish());
    }
Impact

Integrity/availability of HTTP parsing on that connection, unsafe reuse of the socket.

NVD (es)

Netty es un framework de aplicación de red asíncrono y basado en eventos. Antes de las versiones 4.2.13.Final y 4.1.133.Final, HttpClientCodec empareja cada respuesta entrante con una solicitud saliente mediante queue.poll() una vez por respuesta, incluso para las 1xx. Si el cliente encadena GET y luego HEAD, y el servidor envía 103, luego 200 con el cuerpo de GET, y luego 200 para HEAD, la cola empareja HEAD con el primer 200. La regla de HEAD entonces omite la lectura del cuerpo de ese mensaje, por lo que los bytes de la entidad GET permanecen en el flujo y el siguiente 200 se analiza desde un desplazamiento incorrecto. Esta vulnerabilidad está corregida en las versiones 4.2.13.Final y 4.1.133.Final.

References

https://github.com/netty/netty/security/advisories/GHSA-57rv-r2g8-2cj3exploit, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-42584vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2477224issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42584.json
https://access.redhat.com/errata/RHSA-2026:49700vendor-advisory
https://access.redhat.com/errata/RHSA-2026:53644vendor-advisory
https://access.redhat.com/errata/RHSA-2026:53645vendor-advisory
https://access.redhat.com/errata/RHSA-2026:28010vendor-advisory
https://access.redhat.com/errata/RHSA-2026:53646vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66545vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory
https://access.redhat.com/errata/RHSA-2026:49701vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-42584 changed 2026-09-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-57rv-r2g8-2cj3 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-42584 changed 2026-10-26Public domain