{"id":"DHI-d7kh-yn3u-4hvu-m6p7","summary":"The `HAProxyMessageDecoder` in netty's `codec-haproxy` module performs protocol version detection by reading the 13th…","details":"The `HAProxyMessageDecoder` in netty's `codec-haproxy` module performs protocol version detection by reading the 13th byte of the inbound stream as a signed Java `byte` and widening it to `int` without masking. When an attacker sends a PROXY protocol v2 binary prefix (`0D 0A 0D 0A 00 0D 0A 51 55 49 54 0A`) followed by version byte `0xFF`, the sign extension produces `-1`, which collides with the decoder's \"need more data\" sentinel value. This collision traps the decoder in a version-detection loop where it perpetually requests more data without consuming any bytes, never instantiates the `HeaderExtractor` that enforces header size limits, and causes `ByteToMessageDecoder` to accumulate all subsequent inbound bytes into an unbounded `cumulation` buffer until the JVM exhausts its direct memory allocation.","modified":"2026-11-21T14:30:20.515491548Z","published":"2026-11-10T05:28:17Z","upstream":["CVE-2026-55851"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-d7kh-yn3u-4hvu-m6p7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q6cq-mhr2-jmr5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55851"},{"type":"ADVISORY","url":"https://github.com/netty/netty/security/advisories/GHSA-q6cq-mhr2-jmr5"},{"type":"FIX","url":"https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6"},{"type":"FIX","url":"https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b"},{"type":"WEB","url":"https://github.com/netty/netty/releases/tag/netty-4.2.16.Final"},{"type":"WEB","url":"https://github.com/netty/netty/releases/tag/netty-4.1.136.Final"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-55851"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-55851"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-55851"}],"affected":[{"package":{"name":"janusgraph-1.0","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/janusgraph-1.0"},"versions":["1.0.1-r0","1.0.1-r1","1.0.1-r10","1.0.1-r11","1.0.1-r2","1.0.1-r3","1.0.1-r4","1.0.1-r5","1.0.1-r6","1.0.1-r7","1.0.1-r8","1.0.1-r9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-d7kh-yn3u-4hvu-m6p7.json","owner_kind":"HSP"}},{"package":{"name":"janusgraph-1.1","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/janusgraph-1.1"},"versions":["1.1.0-r0","1.1.0-r1","1.1.0-r10","1.1.0-r11","1.1.0-r12","1.1.0-r13","1.1.0-r17","1.1.0-r18","1.1.0-r2","1.1.0-r3","1.1.0-r4","1.1.0-r5","1.1.0-r6","1.1.0-r7","1.1.0-r8","1.1.0-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-d7kh-yn3u-4hvu-m6p7.json"}},{"package":{"name":"janusgraph-1.2","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/janusgraph-1.2"},"versions":["1.2.0-r0","1.2.0-r1","1.2.0-r10","1.2.0-r2","1.2.0-r3","1.2.0-r4","1.2.0-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-d7kh-yn3u-4hvu-m6p7.json"}},{"package":{"name":"janusgraph-1.0","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/janusgraph-1.0"},"versions":["1.0.1-0","1.0.1-1","1.0.1-10","1.0.1-11","1.0.1-12","1.0.1-13","1.0.1-2","1.0.1-3","1.0.1-4","1.0.1-5","1.0.1-6","1.0.1-7","1.0.1-8","1.0.1-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-d7kh-yn3u-4hvu-m6p7.json","owner_kind":"HSP"}},{"package":{"name":"janusgraph-1.1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/janusgraph-1.1"},"versions":["1.1.0-0","1.1.0-1","1.1.0-10","1.1.0-11","1.1.0-12","1.1.0-13","1.1.0-14","1.1.0-15","1.1.0-16","1.1.0-17","1.1.0-18","1.1.0-2","1.1.0-3","1.1.0-4","1.1.0-5","1.1.0-6","1.1.0-7","1.1.0-8","1.1.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-d7kh-yn3u-4hvu-m6p7.json"}},{"package":{"name":"janusgraph-1.2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/janusgraph-1.2"},"versions":["1.2.0-0","1.2.0-1","1.2.0-10","1.2.0-2","1.2.0-3","1.2.0-4","1.2.0-5","1.2.0-6","1.2.0-7","1.2.0-8","1.2.0-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-d7kh-yn3u-4hvu-m6p7.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}