<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-11T16:27:55.378224+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-pgrf-4654-3gq8</id>
    <title>GHSA-pgrf-4654-3gq8 — netty-incubator-codec-ohttp: Binary HTTP parser unchecked varint length overflow causes decoder crash</title>
    <updated>2026-10-11T16:27:55.380857+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: io.netty.incubator:netty-incubator-codec-bhttp</p>
<p>## Summary</p>
<p>`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.</p>
<p>## Details</p>
<p>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.</p>
<p>Primary request-control-data path:</p>
<p>- `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 &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…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-pgrf-4654-3gq8"/>
  </entry>
</feed>
