<?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>Sun, 11 Oct 2026 16:27:55 +0000</lastBuildDate>
    <item>
      <title>GHSA-pgrf-4654-3gq8 — netty-incubator-codec-ohttp: Binary HTTP parser unchecked varint length overflow causes decoder crash</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-pgrf-4654-3gq8</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.netty.incubator:netty-incubator-codec-bhttp&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`io.netty.incubator:netty-incubator-codec-bhttp` uses attacker-controlled Binary HTTP variable-length integers as `long` values but accumulates them into `int` offsets. Large valid varint lengths wrap the internal offset negative, leading to unchecked `ArrayIndexOutOfBoundsException` / `IndexOutOfBoundsException` from a tiny malformed BHTTP payload. A remote peer can trigger connection-level denial of service in applications that expose `BinaryHttpParser` / `BinaryHttpDecoder` to untrusted input.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;In `codec-bhttp/src/main/java/io/netty/incubator/codec/bhttp/BinaryHttpParser.java`, several parser paths store cumulative byte offsets in `int sumBytes` and then add attacker-controlled `long` lengths using compound assignment. In Java, `int += long` narrows the result back to `int`, so a length such as `2^31` wraps `sumBytes` negative.&lt;/p&gt;
&lt;p&gt;Primary request-control-data path:&lt;/p&gt;
&lt;p&gt;- `readRequestHead(...)` declares `int sumBytes = 0` at `BinaryHttpParser.java:386`.
- It reads `methodLength` as a `long` at `BinaryHttpParser.java:394`.
- It performs `sumBytes += methodLength` at `BinaryHttpParser.java:395`, narrowing the result to `int`.
- If `methodLength` is `2^31`, `sumBytes` wraps negative and bypasses `if (sumBytes &amp;gt;= in.readableBytes()) return null` at `BinaryHttpParser.java:396-398`.
- The parser then computes `schemeLengthIdx = in.readerIndex() + sumBytes` and calls `in.getByte(schemeLengthIdx)` at `BinaryHttpParser.java:401-402`, producing a negative index ex…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.netty.incubator:netty-incubator-codec-bhttp&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`io.netty.incubator:netty-incubator-codec-bhttp` uses attacker-controlled Binary HTTP variable-length integers as `long` values but accumulates them into `int` offsets. Large valid varint lengths wrap the internal offset negative, leading to unchecked `ArrayIndexOutOfBoundsException` / `IndexOutOfBoundsException` from a tiny malformed BHTTP payload. A remote peer can trigger connection-level denial of service in applications that expose `BinaryHttpParser` / `BinaryHttpDecoder` to untrusted input.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;In `codec-bhttp/src/main/java/io/netty/incubator/codec/bhttp/BinaryHttpParser.java`, several parser paths store cumulative byte offsets in `int sumBytes` and then add attacker-controlled `long` lengths using compound assignment. In Java, `int += long` narrows the result back to `int`, so a length such as `2^31` wraps `sumBytes` negative.&lt;/p&gt;
&lt;p&gt;Primary request-control-data path:&lt;/p&gt;
&lt;p&gt;- `readRequestHead(...)` declares `int sumBytes = 0` at `BinaryHttpParser.java:386`.
- It reads `methodLength` as a `long` at `BinaryHttpParser.java:394`.
- It performs `sumBytes += methodLength` at `BinaryHttpParser.java:395`, narrowing the result to `int`.
- If `methodLength` is `2^31`, `sumBytes` wraps negative and bypasses `if (sumBytes &amp;gt;= in.readableBytes()) return null` at `BinaryHttpParser.java:396-398`.
- The parser then computes `schemeLengthIdx = in.readerIndex() + sumBytes` and calls `in.getByte(schemeLengthIdx)` at `BinaryHttpParser.java:401-402`, producing a negative index ex…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-pgrf-4654-3gq8</guid>
    </item>
  </channel>
</rss>
