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-31144

CVE-2022-31144: Redis Database RCE Vulnerability

CVE-2022-31144 is a remote code execution vulnerability in Redis database caused by a crafted XAUTOCLAIM command triggering heap overflow. This article covers the technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-31144 Overview

CVE-2022-31144 is a heap overflow vulnerability in Redis, an in-memory database that persists on disk. A specially crafted XAUTOCLAIM command on a stream key in a specific state may result in heap overflow, potentially leading to remote code execution. This vulnerability affects Redis versions on the 7.x branch prior to 7.0.4.

Critical Impact

Authenticated attackers with network access to vulnerable Redis instances can exploit this heap overflow vulnerability to potentially achieve remote code execution, compromising the confidentiality, integrity, and availability of the database system.

Affected Products

  • Redis versions 7.0.0 to 7.0.3
  • Redis 7.x branch prior to version 7.0.4
  • Systems running vulnerable Redis instances exposed to network access

Discovery Timeline

  • 2022-07-19 - CVE-2022-31144 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-31144

Vulnerability Analysis

This vulnerability is classified as a heap-based buffer overflow (CWE-122) and out-of-bounds write (CWE-787). The flaw resides in the handling of the XAUTOCLAIM command when processing stream keys in specific states. When a malicious user sends a specially crafted XAUTOCLAIM command, the Redis server fails to properly validate memory boundaries, resulting in a heap overflow condition.

The exploitation requires the attacker to have authenticated access to the Redis instance (low privileges required) and can be performed remotely over the network. No user interaction is required to trigger this vulnerability, making it particularly dangerous in environments where Redis is exposed to untrusted networks or users.

Root Cause

The root cause of CVE-2022-31144 stems from improper memory boundary validation in the XAUTOCLAIM command handler. When processing stream entries in certain edge-case states, the Redis server allocates insufficient heap memory or fails to properly check bounds before writing data. This leads to a heap-based buffer overflow where data is written beyond the allocated memory region.

The vulnerability specifically manifests when the stream key is in a particular state that triggers the flawed code path, allowing an attacker to corrupt adjacent heap memory structures.

Attack Vector

The attack vector for CVE-2022-31144 is network-based, requiring the attacker to have authenticated access to a vulnerable Redis instance. The exploitation flow involves:

  1. An attacker establishes an authenticated connection to the target Redis server
  2. The attacker identifies or creates a stream key in a vulnerable state
  3. A specially crafted XAUTOCLAIM command is sent to the server
  4. The malformed command triggers the heap overflow condition
  5. Depending on heap layout and exploitation technique, the attacker may achieve code execution

The vulnerability does not require user interaction and can be exploited with low-privilege authentication. Since Redis is often deployed in internal networks with minimal authentication, this vulnerability poses a significant risk to environments where network segmentation is inadequate.

Detection Methods for CVE-2022-31144

Indicators of Compromise

  • Unexpected Redis server crashes or restarts, particularly when processing stream commands
  • Anomalous XAUTOCLAIM commands in Redis slow logs or command history
  • Unusual memory access patterns or segmentation faults in Redis process logs
  • Suspicious authenticated connections from unexpected sources executing stream operations

Detection Strategies

  • Monitor Redis command logs for unusual XAUTOCLAIM command patterns or malformed arguments
  • Implement network intrusion detection rules to identify exploitation attempts targeting Redis streams
  • Deploy endpoint detection solutions like SentinelOne to monitor Redis process behavior for memory corruption indicators
  • Enable Redis ACLs to restrict access to stream commands for non-essential users

Monitoring Recommendations

  • Configure Redis logging to capture all XAUTOCLAIM commands with full argument details
  • Implement real-time alerting on Redis process crashes or abnormal terminations
  • Monitor network traffic to Redis ports (default 6379) for unusual patterns from authenticated sessions
  • Review Redis access logs regularly for authentication attempts from unauthorized sources

How to Mitigate CVE-2022-31144

Immediate Actions Required

  • Upgrade Redis to version 7.0.4 or later immediately
  • If immediate patching is not possible, restrict network access to Redis instances using firewall rules
  • Enable Redis AUTH and implement strong authentication credentials
  • Use Redis ACLs to limit which users can execute stream-related commands including XAUTOCLAIM
  • Ensure Redis is not exposed to untrusted networks or the public internet

Patch Information

The Redis development team has released version 7.0.4 which addresses this heap overflow vulnerability. Organizations running Redis 7.x versions prior to 7.0.4 should upgrade immediately. The patch information and release notes are available through the GitHub Redis Release 7.0.4. Additional security advisory details can be found in the GitHub Security Advisory GHSA-96f7-42fg-2jrh.

Linux distributions have also released patched packages, including Gentoo GLSA 202209-17. NetApp has issued guidance through their NetApp Security Advisory ntap-20220909-0002.

Workarounds

  • Implement network segmentation to isolate Redis instances from untrusted networks
  • Configure Redis ACLs to disable or restrict access to the XAUTOCLAIM command for non-essential users
  • Deploy a reverse proxy or firewall to filter potentially malicious Redis commands
  • Consider running Redis in protected mode if external access is not required
bash
# Configuration example - Restrict XAUTOCLAIM access using Redis ACLs
# Add to redis.conf or execute via redis-cli

# Create a restricted user without stream command access
ACL SETUSER limited_user on >strongpassword ~* &* +@all -@stream

# Alternatively, explicitly deny XAUTOCLAIM for specific users
ACL SETUSER app_user on >password ~* &* +@all -xautoclaim

# Enable protected mode to prevent external access
protected-mode yes

# Bind Redis to localhost only if external access is not required
bind 127.0.0.1 ::1

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRedis

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability24.41%

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

  • CWE-787
  • Technical References
  • GitHub Redis Release 7.0.4

  • GitHub Security Advisory GHSA-96f7-42fg-2jrh

  • Gentoo GLSA 202209-17

  • NetApp Security Advisory ntap-20220909-0002
  • Related CVEs
  • CVE-2025-46817: Redis Lua Scripting RCE Vulnerability

  • CVE-2025-62507: Redis RCE Vulnerability via XACKDEL

  • CVE-2022-0543: Redis Lua Sandbox Escape RCE Vulnerability

  • CVE-2025-32023: Redis HyperLogLog RCE 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