The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-41881

CVE-2022-41881: Netty Denial of Service Vulnerability

CVE-2022-41881 is a denial of service flaw in Netty that triggers a StackOverflowError through infinite recursion when parsing malformed messages. This article covers the technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-41881 Overview

CVE-2022-41881 is a denial of service vulnerability in the Netty project, 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 in the HaProxyMessageDecoder. This vulnerability allows remote attackers to crash applications using vulnerable Netty versions by sending specially crafted HAProxy protocol messages.

Critical Impact

Remote attackers can cause a complete denial of service by triggering a StackOverflowError through malformed HAProxy protocol messages, potentially bringing down production systems relying on Netty for network communication.

Affected Products

  • Netty versions prior to 4.1.86.Final
  • Debian Linux 10.0
  • Debian Linux 11.0

Discovery Timeline

  • 2022-12-12 - CVE CVE-2022-41881 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-41881

Vulnerability Analysis

This vulnerability exists in the HaProxyMessageDecoder component of Netty, which is responsible for parsing HAProxy protocol messages. The HAProxy protocol is commonly used by load balancers and reverse proxies to forward client connection information to backend servers.

When processing certain malformed HAProxy protocol messages, the decoder enters an infinite recursion state. This uncontrolled recursion eventually exhausts the stack space, causing a StackOverflowError that crashes the JVM thread or the entire application. The vulnerability can be triggered remotely over the network without any authentication or user interaction required.

The attack targets the availability of systems using Netty's HAProxy protocol support, making it particularly dangerous for production environments handling significant network traffic.

Root Cause

The root cause is classified under CWE-674 (Uncontrolled Recursion). The HaProxyMessageDecoder fails to properly validate input boundaries when parsing HAProxy protocol messages, allowing an attacker to craft a message that triggers infinite recursive calls. Without proper recursion depth limits or input validation, the parser continues to call itself until the JVM stack is exhausted.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Establishing a network connection to a service using Netty's HAProxy protocol decoder
  2. Sending a specially crafted malformed HAProxy protocol message designed to trigger recursive parsing
  3. The decoder enters infinite recursion while attempting to parse the malicious input
  4. The target system experiences a StackOverflowError, resulting in denial of service

The vulnerability is exploited through malformed message structures that cause the HAProxy message parser to recursively process data without proper termination conditions. Since HAProxy protocol is typically processed at the connection establishment phase, the attack can prevent new connections from being handled and may crash existing application threads.

Detection Methods for CVE-2022-41881

Indicators of Compromise

  • Unexpected application crashes with StackOverflowError exceptions in logs
  • High volume of malformed HAProxy protocol messages in network traffic
  • Abnormal connection patterns from specific source IPs targeting HAProxy-enabled endpoints
  • Application thread dumps showing deep recursive call stacks in HaProxyMessageDecoder

Detection Strategies

  • Monitor application logs for StackOverflowError exceptions referencing Netty's HAProxy decoder classes
  • Implement network-level inspection for malformed HAProxy protocol messages
  • Deploy intrusion detection rules to identify suspicious traffic patterns targeting HAProxy protocol handlers
  • Use JVM monitoring tools to track thread health and detect abnormal stack usage patterns

Monitoring Recommendations

  • Enable verbose logging for Netty's codec components during incident investigation
  • Configure alerting on application crashes and unexpected JVM terminations
  • Monitor network connections for unusual traffic volumes to HAProxy-enabled services
  • Track application memory and thread metrics to identify resource exhaustion patterns

How to Mitigate CVE-2022-41881

Immediate Actions Required

  • Upgrade Netty to version 4.1.86.Final or later immediately
  • Audit all applications and dependencies that use Netty for HAProxy protocol support
  • Review network exposure of services using the HAProxy protocol decoder
  • Implement rate limiting on network connections as a temporary defensive measure

Patch Information

The vulnerability is patched in Netty version 4.1.86.Final. Organizations should upgrade to this version or later to remediate the vulnerability. For detailed patch information, refer to the GitHub Security Advisory.

Debian users should apply the relevant security updates:

  • Debian Security Advisory DSA-5316
  • Debian LTS Announcement

For NetApp products, consult the NetApp Security Advisory.

Workarounds

  • There is no official workaround available except using a custom HaProxyMessageDecoder implementation
  • Consider implementing a custom decoder with proper recursion limits if immediate patching is not possible
  • Restrict network access to HAProxy-enabled endpoints to trusted sources only
  • Deploy a web application firewall (WAF) or network filter to inspect and block malformed HAProxy protocol messages
bash
# Verify Netty version in Maven projects
mvn dependency:tree | grep netty

# Upgrade Netty in Maven pom.xml
# Update version to 4.1.86.Final or later
# <dependency>
#   <groupId>io.netty</groupId>
#   <artifactId>netty-all</artifactId>
#   <version>4.1.86.Final</version>
# </dependency>

# For Gradle projects, check dependencies
gradle dependencies | grep netty

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNetty

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • GitHub Security Advisory

  • Debian LTS Announcement

  • NetApp Security Advisory

  • Debian Security Advisory
  • Related CVEs
  • CVE-2026-33871: Netty HTTP/2 DoS Vulnerability

  • CVE-2025-55163: Netty HTTP/2 MadeYouReset DoS Vulnerability

  • CVE-2024-29025: Netty HttpPostRequestDecoder DoS Flaw

  • CVE-2025-58057: Netty BrotliDecoder DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English