# CVE-2022-41881: HAProxyMessageDecoder Stack Exhaustion DoS

Source: https://junglewise.ai/threats/cve-2022-41881-haproxymessagedecoder-stack-exhaustion-dos  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-12  
License: CC BY 4.0 with a link back

CVE-2022-41881 · Severity: low · CVSS 3.1 · Published 2022-12-12

HAProxyMessageDecoder Stack Exhaustion DoS

Technologies: [io.netty:netty-codec-haproxy (Maven)](https://junglewise.ai/threats/technologies/io-netty-netty-codec-haproxy). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-41881 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-41881 being exploited in the wild.

**How severe is CVE-2022-41881?** Low severity, with a CVSS score of 3.1, published 12 December 2022.

**Which products and versions are affected?** io.netty:netty-codec-haproxy (Maven) ECOSYSTEM:introduced=0,fixed=4.1.86.Final.

**Is there a fix for CVE-2022-41881?** Yes. io.netty:netty-codec-haproxy (Maven): upgrade to 4.1.86.Final or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-41881?** Check whether you run io.netty:netty-codec-haproxy (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.netty:netty-codec-haproxy (Maven): upgrade to 4.1.86.Final or later

  ```sh
  # set io.netty:netty-codec-haproxy to 4.1.86.Final in your pom.xml or build.gradle
  ```


## Affected products

- io.netty:netty-codec-haproxy (Maven) ECOSYSTEM:introduced=0,fixed=4.1.86.Final

## Identifiers

- CVE-2022-41881
- GHSA-fx2c-96vj-985v

## Related threats

- [Netty CRLF injection in HAProxyMessageEncoder AF_UNIX addresses](https://junglewise.ai/threats/cve-2026-59919-netty-crlf-injection-in-haproxymessageencoder-af-unix-addresses)
- [Netty uncontrolled resource consumption in HAProxyMessageDecoder](https://junglewise.ai/threats/cve-2026-55851-netty-uncontrolled-resource-consumption-in-haproxymessagedecoder)
- [Netty memory leak in HAProxy PROXY protocol v2 codec](https://junglewise.ai/threats/cve-2026-48059-netty-memory-leak-in-haproxy-proxy-protocol-v2-codec)
- [Netty memory leak in HAProxyMessageDecoder SSL TLV parsing](https://junglewise.ai/threats/cve-2026-44893-netty-memory-leak-in-haproxymessagedecoder-ssl-tlv-parsing)
