##
This is a proof-of-concept exploit for the double-free vulnerability in Apache's `mod_http2` (CVE-2026-23918). It's a nasty bug that hits the `h2_mplx.c` stream cleanup path.
Basically, if you time it right, you can get the server to try and clean up the same stream twice, which usually leads to a SIGSEGV and a worker crash.
.
It's a race condition in how Apache handles early RST_STREAM frames. If a client sends a HEADERS frame and immediately follows it with an RST_STREAM before the multiplexer even registers the stream, two different callbacks try to clean up.
One callback handles the reset, the other handles the stream closure. Both call `m_stream_cleanup()`, which pushes the same pointer onto the cleanup array. When Apache eventually tries to destroy those streams, the second attempt hits already-freed memory.
* **DoS** : Extremely easy. One connection can crash workers. Since Apache respawns them, you can keep the server under constant pressure with very little bandwidth. This is what this PoC demonstrates - and it's been tested and confirmed working on Apache 2.4.66.
* **RCE** : Theoretically possible but **not practical for most attackers**. It requires:
1. An **info leak** (a second vulnerability to leak memory addresses)
2. A specific APR memory allocator (`mmap`, default on Debian/Ubuntu/Docker)
3. Precise heap manipulation and knowledge of the target's memory layout
No public RCE exploit exists, and building one is a non-trivial engineering effort. The real-world impact for most orgs is reliable DoS, not RCE.
. It's not ideal for performance, but it stops the crash.
* Discovered by Bartłomiej Dmitruk and Stanisław Strzałkowski.
I've tested this on a few different Debian and Ubuntu builds. The DoS is very reliable. RCE is a lot more "finicky" and I wouldn't count on it in a real-world scenario unless the target has a very predictable heap state.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
