Apache mod_http2 Double Free Exploit POC (1 Viewer)

Currently reading:
 Apache mod_http2 Double Free Exploit POC (1 Viewer)

Recently searched:

rakesh612

Member
LV
0
Joined
May 31, 2026
Threads
5
Likes
0
Awards
1
Credits
1,116©
Cash
0$
ECash
0.00$
mod_http2 in Apache 2.4.66 has a double-free bug inside h2_mplx.c:m_stream_cleanup(). The issue happens when a client sends a HEADERS frame immediately followed by a RST_STREAM on the same stream. If the timing is right, the stream ends up pushed twice into the m->spurge purge array. When the mplx gets destroyed, the APR pool is freed twice, which corrupts the heap and causes a SIGABRT or SIGSEGV.

Apache patched this in mod_h2 v2.0.37 by introducing add_for_purge(), a simple deduplication check that prevents the same stream from being added twice.

Link:
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Recently searched:

Similar threads

Users who are viewing this thread

Top Bottom