Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-46819

CVE-2025-46819: Redis Database DoS Vulnerability

CVE-2025-46819 is a denial of service vulnerability in Redis that allows authenticated users to crash the server using crafted Lua scripts. This article covers the technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2025-46819 Overview

CVE-2025-46819 is a high-severity vulnerability affecting Redis, the popular open-source, in-memory database that persists on disk. This vulnerability allows an authenticated user to craft a specially designed Lua script that can read out-of-bounds data from memory or crash the Redis server, resulting in a denial of service condition. The vulnerability exists in all versions of Redis that support Lua scripting, with versions 8.2.1 and below confirmed as affected.

Critical Impact

Authenticated attackers can exploit this vulnerability to read sensitive data from memory or crash Redis servers, causing service disruption and potential information disclosure.

Affected Products

  • Redis versions 8.2.1 and below
  • All Redis versions with Lua scripting enabled
  • Redis deployments allowing authenticated users to execute EVAL or FUNCTION commands

Discovery Timeline

  • 2025-10-03 - CVE-2025-46819 published to NVD
  • 2026-01-27 - Last updated in NVD database

Technical Details for CVE-2025-46819

Vulnerability Analysis

This vulnerability stems from improper memory access handling within Redis's Lua scripting engine. When processing specially crafted Lua scripts, the Lua lexer fails to properly initialize the token structure, leading to out-of-bounds read operations (CWE-125) caused by an integer overflow condition (CWE-190). The flaw allows authenticated users to potentially read sensitive data residing in adjacent memory regions or trigger server crashes through memory access violations.

The vulnerability requires local access and authenticated user privileges to exploit. An attacker with the ability to execute Lua scripts via the EVAL or FUNCTION command families can craft malicious scripts that trigger the vulnerable code path in the Lua lexer component.

Root Cause

The root cause of CVE-2025-46819 lies in uninitialized memory within the luaX_setinput function in the Lua lexer (deps/lua/src/llex.c). The token structure was not being initialized before use, allowing the lexer to operate on uninitialized or stale data, which could lead to out-of-bounds memory access during script parsing.

Attack Vector

The attack vector requires an authenticated user with permissions to execute Lua scripts. The attacker must craft a malicious Lua script designed to trigger the vulnerable code path in the lexer. Upon execution via the EVAL or FUNCTION commands, the script causes the Redis server to either read memory outside its intended boundaries or crash entirely.

c
// Security patch from deps/lua/src/llex.c
// Source: https://github.com/redis/redis/commit/3a1624da2449ac3dbfc4bdaed43adf77a0b7bfba

 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source) {
+  ls->t.token = 0;
   ls->decpoint = '.';
   ls->L = L;
   ls->lookahead.token = TK_EOS;  /* no look-ahead token */

The fix initializes ls->t.token to 0 before the lexer begins processing, preventing the use of uninitialized memory values.

Detection Methods for CVE-2025-46819

Indicators of Compromise

  • Unexpected Redis server crashes or restarts without clear operational cause
  • Unusual EVAL or FUNCTION command patterns from authenticated users
  • Memory access violations or segmentation faults in Redis logs
  • Abnormal Lua script execution patterns or unusually complex scripts

Detection Strategies

  • Monitor Redis command logs for suspicious EVAL and FUNCTION command usage
  • Implement alerting on Redis server crashes or unexpected process terminations
  • Review authentication logs for users executing Lua scripts with unusual frequency
  • Deploy application-level monitoring to detect out-of-bounds memory access attempts

Monitoring Recommendations

  • Enable Redis slow log and command logging to track Lua script executions
  • Configure system-level monitoring for Redis process stability and crash events
  • Implement network monitoring to detect unauthorized access attempts to Redis instances
  • Set up automated alerts for any Redis ACL violations related to script execution

How to Mitigate CVE-2025-46819

Immediate Actions Required

  • Upgrade Redis to version 8.2.2 or later immediately
  • Audit user accounts with Lua scripting privileges and remove unnecessary access
  • Implement ACL restrictions to block EVAL and FUNCTION commands for non-essential users
  • Monitor Redis instances for signs of exploitation attempts

Patch Information

Redis has released version 8.2.2 which addresses this vulnerability. The fix involves properly initializing the token structure in the Lua lexer before processing scripts. The patch is available through the GitHub Redis Release 8.2.2. Additional technical details are available in the GitHub Security Advisory GHSA-4c68-q8q8-3g4f.

Workarounds

  • Use Redis ACL to restrict EVAL and FUNCTION command access to trusted users only
  • Disable Lua scripting entirely if not required for your application
  • Implement network segmentation to limit access to Redis instances
  • Apply the principle of least privilege to all Redis user accounts
bash
# Redis ACL configuration to block Lua script execution
# Add to redis.conf or apply via ACL SETUSER command

# Disable EVAL and FUNCTION commands for default user
ACL SETUSER default -EVAL -EVALSHA -FUNCTION

# Create restricted user without script execution rights
ACL SETUSER restricted_user on >password ~* +@all -@scripting

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRedis

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability5.05%

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

  • CWE-125
  • Technical References
  • GitHub Redis Release 8.2.2

  • GitHub Security Advisory GHSA-4c68-q8q8-3g4f

  • Vicarius Detection of CVE-2025-46819
  • Vendor Resources
  • GitHub Redis Commit

  • Vicarius Mitigation for CVE-2025-46819
  • Related CVEs
  • CVE-2025-21605: Redis Database DoS Vulnerability

  • CVE-2024-31228: Redis Database DOS Vulnerability

  • CVE-2025-48367: Redis Database DOS Vulnerability

  • CVE-2024-51741: Redis Database 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