Skip to main content
EPSS 0.6%top 51%

Netty: In versions 4.2.0.Final up to (but not including) 4.2.16.Final, and 4.1.0.Final up to (but not including) 4.1.135, the HAProxyMessageDecoder in… (CVE-2026-55851)

0
Medium
Published: 07/21/2026 (07/21/2026, 22:17:00 UTC)
Source: GCVE Database
Product: netty

Description

A vulnerability in the HAProxyMessageDecoder component of the Netty codec-haproxy module causes an infinite loop due to a signed-byte sentinel collision during protocol version detection. This occurs when the 13th byte of the inbound stream is 0xFF, leading to unbounded memory growth and eventual JVM memory exhaustion. The issue affects Netty versions 4.2.0.Final up to but not including 4.2.16.Final, and 4.1.0.Final up to but not including 4.1.136.Final.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Mavenghsa
io.netty:netty-codec-haproxy
Affected versions
>=4.1.0.Final <4.1.136.Final
Ubuntu:Pro:14.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1:3.2.6.Final-2=1:3.2.6.Final-2+deb8u2build0.14.04.1~esm1=1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-apps-legacy/xenial
Affected versions
=1:3.2.6.Final-2=1:4.0.32-1=1:4.0.33-1=1:4.0.34-1=1:4.0.34-1ubuntu0.1~esm1=1:4.0.34-1ubuntu0.1~esm2=1:4.0.34-1ubuntu0.1~esm3=1:4.0.34-1ubuntu0.1~esm4=1:4.0.34-1ubuntu0.1~esm5
Ubuntu:Pro:18.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-apps/bionic
Affected versions
=1:4.1.7-4=1:4.1.7-4ubuntu0.1~esm1=1:4.1.7-4ubuntu0.1=1:4.1.7-4ubuntu0.1+esm1=1:4.1.7-4ubuntu0.1+esm2=1:4.1.7-4ubuntu0.1+esm3=1:4.1.7-4ubuntu0.1+esm4=1:4.1.7-4ubuntu0.1+esm5=1:4.1.7-4ubuntu0.1+esm6=1:4.1.7-4ubuntu0.1+esm7
Ubuntu:Pro:20.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-apps/focal
Affected versions
=1:4.1.33-1=1:4.1.33-2=1:4.1.33-3=1:4.1.45-1=1:4.1.45-1ubuntu0.1~esm1=1:4.1.45-1ubuntu0.1~esm2=1:4.1.45-1ubuntu0.1~esm3=1:4.1.45-1ubuntu0.1~esm4=1:4.1.45-1ubuntu0.1~esm6=1:4.1.45-1ubuntu0.1~esm7
Ubuntu:Pro:22.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-apps/jammy
Affected versions
=1:4.1.48-4=1:4.1.48-4+deb11u1build0.22.04.1=1:4.1.48-4+deb11u2build0.22.04.1=1:4.1.48-4+deb11u2ubuntu0.1~esm1=1:4.1.48-4+deb11u2ubuntu0.1~esm2=1:4.1.48-4+deb11u2ubuntu0.1=1:4.1.48-4+deb11u2ubuntu0.1+esm1=1:4.1.48-4+deb11u2ubuntu0.1+esm3=1:4.1.48-4+deb11u2ubuntu0.2=1:4.1.48-4+deb11u2ubuntu0.2+esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-apps/noble
Affected versions
=1:4.1.48-7=1:4.1.48-8=1:4.1.48-9=1:4.1.48-9ubuntu0.1~esm1=1:4.1.48-9ubuntu0.1~esm2=1:4.1.48-9ubuntu0.1=1:4.1.48-9ubuntu0.1+esm1=1:4.1.48-9ubuntu0.1+esm3=1:4.1.48-9ubuntu0.2=1:4.1.48-9ubuntu0.2+esm1=1:4.1.48-9ubuntu0.2+esm2
Ubuntu:26.10more threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=stonking
Affected versions
=1:4.1.48-16=1:4.1.48-16ubuntu1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
netty
pkg:deb/ubuntu/netty?arch=source&distro=esm-apps/resolute
Affected versions
=1:4.1.48-10=1:4.1.48-11=1:4.1.48-12=1:4.1.48-13=1:4.1.48-14=1:4.1.48-16=1:4.1.48-16ubuntu0.1~esm2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 04:49:31 UTC

Technical Analysis

CVE-2026-55851 is a denial-of-service vulnerability in the HAProxyMessageDecoder of the Netty codec-haproxy module. The vulnerability arises from a signed-byte sentinel collision during protocol version detection, where the decoder interprets the 13th byte of the inbound stream as 0xFF, which sign-extends to -1. This matches the sentinel value indicating 'need more data', causing the decoder to enter an infinite loop requesting more data without consuming any bytes. This results in unbounded memory growth and eventual exhaustion of JVM memory resources. The affected versions are Netty 4.2.0.Final up to but excluding 4.2.16.Final, and 4.1.0.Final up to but excluding 4.1.136.Final.

Potential Impact

The vulnerability leads to a denial-of-service condition by causing unbounded memory growth and eventual JVM memory exhaustion. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

A fix is available in Netty versions 4.2.16.Final and 4.1.136.Final and later. Users should upgrade to these or later versions to remediate the issue. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-q6cq-mhr2-jmr5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55851"]
Ecosystems
["Maven"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a6150e99c2644c7f8da2339

Added to database: 07/22/2026, 23:23:21 UTC

Last enriched: 10/18/2026, 04:49:31 UTC

Last updated: 10/21/2026, 13:20:22 UTC

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses