Allocation of Resources Without Limits or Throttling Affecting io.netty:netty-codec-haproxy package, versions [4.1.0.Final,4.1.136.Final)[4.2.0.Final,4.2.16.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IONETTY-18170211
  • published22 Jul 2026
  • disclosed21 Jul 2026
  • creditUnknown

Introduced: 21 Jul 2026

NewCVE-2026-55851  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade io.netty:netty-codec-haproxy to version 4.1.136.Final, 4.2.16.Final or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the HAProxyMessageDecoder. An attacker can cause unbounded memory allocation by sending a specially crafted PROXY protocol v2 binary prefix with a version byte of 0xFF, which collides with the decoder's sentinel value and leads to continuous accumulation of inbound bytes until memory is exhausted.

CVSS Base Scores

version 4.0
version 3.1