Skip to content
Race condition Write-up Advanced

Critical RCE Vulnerability in Apache HTTP Server: Everything You Need To Know

A race condition in the assign_headers() function of Apache HTTP Server's HTTP/2 module can cause heap memory corruption. A remote, unauthenticated attacker could exploit this to execute arbitrary code with the web server's privileges.

Merav Bar Follow

Published on wiz.io

A critical synchronization vulnerability (CVE-2026-119618) has been identified in Apache HTTP Server’s HTTP/2 module (modhttp2). The flaw stems from a concurrent execution race condition within the assignheaders() function when handling shared resources.

Merav Bar, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

A remote, unauthenticated attacker could corrupt heap memory and achieve arbitrary code execution with the web server process's privileges; no exploit is available and no exploitation in the wild has been reported.

What the attacker needed

HTTP/2 enabled on the server; network access to the server

The fix

It should be fixed by upgrading Apache HTTP Server to 2.4.71 or later, or standalone mod_h2 to newer than 2.0.42, or by temporarily disabling HTTP/2.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A race condition happens when two parts of a program use the same memory at the same time without proper coordination, so the result depends on timing. Here, that mistake can corrupt memory and let an attacker run their own commands on the server. No login is needed, but the server must have HTTP/2 enabled.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Merav Bar

View all

27 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.