Uncontrolled Recursion Affecting netty package, versions <4.1.48-6


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.47% (66th 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 Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2604-NETTY-16217923
  • published24 Apr 2026
  • disclosed12 Dec 2022

Introduced: 12 Dec 2022

CVE-2022-41881  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 netty to version 4.1.48-6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream netty package and not the netty package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. This issue is patched in version 4.1.86.Final. There is no workaround, except using a custom HaProxyMessageDecoder.

CVSS Base Scores

version 3.1