Loading advisory.
Loading advisory.
HAProxyMessageDecoder Stack Exhaustion DoS
A StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion.
Published 2022-12-12 00:00 UTC · Modified 2026-08-07 08:12 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| io.netty:netty-codec-haproxy | Maven | < 4.1.86.Final versions 4.0.29.Final, 4.0.30.Final, 4.0.31.Final, 4.0.32.Final, 4.0.33.Final, 4.0.34.Final, 4.0.35.Final, 4.0.36.Final, 4.0.37.Final, 4.0.38.Final, 4.0.39.Final, 4.0.40.Final, 4.0.41.Final, 4.0.42.Final, 4.0.43.Final, 4.0.44.Final, 4.0.45.Final, 4.0.46.Final, 4.0.47.Final, 4.0.48.Final and 109 more | 4.1.86.Final | No single command for Maven. Update to 4.1.86.Final in your build file. |
A StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion.
Users should upgrade to 4.1.86.Final.
There is no workaround, except using a custom HaProxyMessageDecoder.
When parsing a TLV with type = PP2_TYPE_SSL, the value can be again a TLV with type = PP2_TYPE_SSL and so on. The only limitation of the recursion is that the TLV length cannot be bigger than 0xffff because it is encoded in an unsigned short type. Providing a TLV with a nesting level that is large enough will lead to raising of a StackOverflowError. The StackOverflowError will be caught if HAProxyMessageDecoder is used as part of Netty’s ChannelPipeline, but using it directly without the ChannelPipeline will lead to a thrown exception / crash.
If you have any questions or comments about this advisory:
Open an issue in netty
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.016 on 2026-11-24 to 0.016 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.016 | first score | v2026.06.15 |
| 2026-11-26 | 0.016 | 0.016 | v2026.06.15 |