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-2026-31635 β€” Public proof-of-concept exploit for CVE-2026-31635 (DirtyDecrypt), a Linux kernel rxgk page cache corruption flaw enabling local privilege escalation to root. | Kitploit
Tools/GitHubGitHub/ashrafzaryouh/cve-2026-31635
Privilege EscalationVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubashrafzaryouh/cve-2026-31635

CVE-2026-31635

Public proof-of-concept exploit for CVE-2026-31635 (DirtyDecrypt), a Linux kernel rxgk page cache corruption flaw enabling local privilege escalation to root.

Share
View Repository
856 months agoNot yet reviewed

🩸 CVE-2026-31635 – DirtyDecrypt

ChatGPT Image May 19, 2026, 10_51_03 PM

Linux Kernel Local Privilege Escalation via RXGK Page Cache Corruption

Version Severity Exploit

"DirtyDecrypt" β€” Part of the 2026 "Dirty" family exploits


πŸ“– Overview

DirtyDecrypt (CVE-2026-31635) is a local privilege escalation vulnerability in the Linux kernel's rxrpc subsystem (specifically the rxgk component).

It abuses a missing Copy-on-Write (COW) check during AES-CBC decryption, allowing an unprivileged user to corrupt page cache and achieve arbitrary file writes, leading to root access.


✨ Features

  • βœ… Clean & well-commented C code
  • βœ… User + Network namespace support
  • βœ… Reliable page cache write primitive
  • βœ… Targets /etc/passwd (blank root password)
  • βœ… Easy to modify for SUID binaries or other targets
  • βœ… Static compilation support

πŸ› οΈ Affected Systems

  • Vulnerable Kernels: 6.10 ~ 6.13 (with CONFIG_RXGK=y)
  • Common Distros: Fedora, Arch Linux, openSUSE Tumbleweed, custom kernels
  • Not Vulnerable: Kernels before ~6.10 or those with CONFIG_RXGK=n

πŸ“‹ Requirements

  • Linux kernel with CONFIG_RXGK enabled
  • Unprivileged local user access
  • AF_RXRPC socket support
  • keyctl utility (for rxrpc keys)

πŸš€ Compilation

git clone https://github.com/0xBlackash/DirtyDecrypt.git
cd DirtyDecrypt
gcc -O2 -static -pthread CVE-2026-31635.c -o DirtyDecrypt

πŸ’₯ Usage

sudo ./DirtyDecrypt

Expected successful output:

=== rxgk pagecache write (DirtyDecrypt) ===
uid=1000 euid=1000

[*] writing shellcode to /usr/bin/su (96 bytes from offset 0)
    [========================================] 100% (XXX/96, YYYY fires)
[*] XXX fires in Z.Zs
[*] exec /usr/bin/su
[*] restore: cp /tmp/.su_12345 /usr/bin/su

# whoami
root

# id
uid=0(root) gid=0(root) groups=0(root)

# 

πŸ“ Repository Structure

DirtyDecrypt/
β”œβ”€β”€ CVE-2026-31635.c          # Main exploit
β”œβ”€β”€ README.md                 # This file
β”œβ”€β”€ Makefile                  # Optional
└── exploit.log               # Optional output log

πŸ”¬ How It Works (Technical)

  1. Enters User + Network namespace
  2. Adds RXGK key to keyring
  3. Uses AF_RXRPC sockets + splice() to force page cache pages into the RXGK decryption path
  4. Triggers in-place AES-CBC decryption without skb_cow_data()
  5. Corrupts target file (/etc/passwd) byte-by-byte using sliding window technique
  6. Blanks root password β†’ spawns root shell

⚠️ Disclaimer

This exploit is for educational and authorized security testing only.
Unauthorized use on systems you do not own is illegal.


πŸ“œ Credits & Author

  • Exploit Author: Ashraf Zaryouh "0xBlackash"
  • Original Discovery: Security researchers (2026)
  • PoC Version: v2.1 (May 2026)

⭐ Star this repo if it helped you!

Made with ❀️ for the research community

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    837
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    536
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    355
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    294
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    276

Explore all tools

Browse our collection of tools

View all tools β†’