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
    • 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-2025-62507

CVE-2025-62507: Redis RCE Vulnerability via XACKDEL

CVE-2025-62507 is a remote code execution flaw in Redis that exploits the XACKDEL command to trigger a stack buffer overflow. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2025-62507 Overview

CVE-2025-62507 is a stack buffer overflow vulnerability in Redis, the popular open-source in-memory database. The vulnerability exists in the XACKDEL command handling, where an authenticated user can trigger a stack buffer overflow by supplying multiple stream IDs that exceed the statically allocated buffer size. This memory corruption flaw may potentially lead to remote code execution, allowing attackers to compromise Redis server instances.

Critical Impact

Authenticated attackers can exploit this stack buffer overflow in the XACKDEL command to potentially achieve remote code execution on affected Redis servers, compromising data integrity and server availability.

Affected Products

  • Redis versions 8.2.0 and above (prior to 8.2.3)
  • Redis Redis (all deployments running vulnerable versions)
  • Systems using Redis Stream functionality with XACKDEL operations

Discovery Timeline

  • 2025-11-04 - CVE-2025-62507 published to NVD
  • 2025-12-08 - Last updated in NVD database

Technical Details for CVE-2025-62507

Vulnerability Analysis

The vulnerability resides in the stream command processing within Redis's src/t_stream.c file. When handling the XACKDEL command, Redis uses a statically allocated array static_ids[STREAMID_STATIC_VECTOR_LEN] on the stack to store stream IDs. The vulnerability occurs because the code fails to check whether the number of supplied IDs exceeds this static buffer size before writing to it.

When an authenticated user executes an XACKDEL command with more IDs than the STREAMID_STATIC_VECTOR_LEN constant allows, the additional stream IDs overflow the stack buffer. This out-of-bounds write can corrupt adjacent stack memory, including return addresses and other critical stack frame data, potentially enabling an attacker to redirect execution flow.

The vulnerability is classified under CWE-787 (Out-of-bounds Write) and CWE-20 (Improper Input Validation), reflecting both the memory corruption issue and the failure to properly validate input bounds before buffer operations.

Root Cause

The root cause is improper input validation in the XACKDEL command handler. The code initializes a fixed-size stack buffer (static_ids) but does not verify that the number of incoming stream IDs (args.numids) fits within this buffer before iterating and writing each ID. This missing bounds check allows attackers to supply more IDs than the buffer can accommodate, resulting in a classic stack buffer overflow condition.

Attack Vector

The attack is network-accessible and requires low-privilege authenticated access to the Redis instance. An attacker with valid Redis credentials can craft a malicious XACKDEL command containing a number of stream IDs exceeding STREAMID_STATIC_VECTOR_LEN. When the Redis server processes this command, the stack buffer overflows, potentially allowing the attacker to:

  1. Crash the Redis server (denial of service)
  2. Corrupt memory to influence program behavior
  3. Achieve remote code execution by overwriting return addresses or function pointers
c
// Security patch in src/t_stream.c - Fix XACKDEL stack overflow
// Source: https://github.com/redis/redis/commit/5f83972188f6e5b1d6f1940218c650a9cbdf7741

      * executed in a "all or nothing" fashion. */
     streamID static_ids[STREAMID_STATIC_VECTOR_LEN];
     streamID *ids = static_ids;
+    if (args.numids > STREAMID_STATIC_VECTOR_LEN)
+        ids = zmalloc(sizeof(streamID)*args.numids);
     for (int j = 0; j < args.numids; j++) {
         if (streamParseStrictIDOrReply(c,c->argv[j+args.startidx],&ids[j],0,NULL) != C_OK)
             goto cleanup;

The patch adds a bounds check that dynamically allocates memory using zmalloc() when the number of IDs exceeds the static buffer size, preventing the stack overflow.

Detection Methods for CVE-2025-62507

Indicators of Compromise

  • Unusual XACKDEL commands with abnormally high numbers of stream IDs in Redis logs
  • Redis server crashes or unexpected restarts following stream operations
  • Memory corruption errors or segmentation faults in Redis process logs
  • Suspicious network connections following Redis command execution

Detection Strategies

  • Monitor Redis command logs for XACKDEL operations with excessive ID counts
  • Implement network intrusion detection rules to flag malformed or unusually large Redis commands
  • Deploy endpoint detection to identify Redis process crashes or abnormal memory access patterns
  • Enable Redis slow log and command auditing to capture potentially malicious stream operations

Monitoring Recommendations

  • Configure Redis to log all XACKDEL commands via the ACL LOG feature
  • Set up alerting for Redis process crashes or unexpected terminations
  • Monitor Redis memory usage patterns for anomalies during stream operations
  • Implement network-level monitoring for Redis protocol traffic anomalies

How to Mitigate CVE-2025-62507

Immediate Actions Required

  • Upgrade Redis to version 8.2.3 or later immediately
  • If immediate patching is not possible, implement ACL restrictions to block XACKDEL command execution
  • Review Redis ACL configurations to ensure only necessary users have stream command access
  • Audit Redis authentication settings to minimize attack surface

Patch Information

Redis has released version 8.2.3 to address this vulnerability. The fix implements proper bounds checking before using the static buffer, dynamically allocating heap memory when the number of stream IDs exceeds STREAMID_STATIC_VECTOR_LEN. Organizations should upgrade to this version as soon as possible.

For detailed patch information, see the GitHub Redis Commit Details and the GitHub Security Advisory GHSA-jhjx-x4cf-4vm8.

Workarounds

  • Use Redis ACL to restrict XACKDEL command execution: configure ACL SETUSER to deny the XACKDEL command for all non-administrative users
  • Implement network segmentation to limit Redis server exposure to trusted networks only
  • Enable Redis authentication and use strong credentials to reduce unauthorized access risk
  • Consider using Redis Sentinel or Cluster configurations with restricted command sets
bash
# Configuration example - Restrict XACKDEL via Redis ACL
# Connect to Redis and configure ACL to deny XACKDEL for a specific user
redis-cli ACL SETUSER appuser -XACKDEL

# Alternatively, create a restricted user without stream delete permissions
redis-cli ACL SETUSER restricted_user on >strongpassword ~* +@all -XACKDEL

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 Score7.7

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-787
  • Technical References
  • GitHub Redis Release 8.2.3
  • Vendor Resources
  • GitHub Redis Commit Details

  • GitHub Security Advisory GHSA-jhjx-x4cf-4vm8
  • Related CVEs
  • CVE-2025-46817: Redis Lua Scripting RCE Vulnerability

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

  • CVE-2025-32023: Redis HyperLogLog RCE Vulnerability

  • CVE-2024-46981: Redis Database Lua Script RCE Vulnerability
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