Cybersecurity & Protection

Critical Flaw in Apache's mod_http2 Module Allows Code Execution

Nov 16, 2026 2 min read
All articles

A critical security flaw in the Apache2 web server could let attackers inject malicious code. The bug sits in the HTTP/2 module mod_http2, more precisely in the function assign_headers(). There, memory manipulation can lead to remote code execution (RCE).

The flaw is tracked as CVE-2026-119618. It is rated critical, but no CVSS score has been published yet. It was found by Anthropic's OSS scanner and two employees of Google Cloud Vulnerability Research.

Who is affected

mod_http2 is not enabled by default, so only servers that support HTTP/2 are affected. If your Apache runs on HTTP/1.1 only, this flaw does not concern you.

How realistic is an attack?

A working exploit is considered very difficult. Modern operating systems randomize memory addresses through ASLR (Address Space Layout Randomization), which makes life hard for attackers. Security expert Kevin Beaumont also considers the flaw hard to exploit, since Linux's own protections make building an exploit harder still.

Still, do not wait. Apache already fixed critical flaws in May, also in its HTTP/2 module, so this is not the first time the module has been in the spotlight.

What to do

Move to a fixed version, for example 2.4.71. It also fixes CVE-2026-106023 (rated important) and CVE-2026-109163 (rated low).

If you cannot update right away, at least disable HTTP/2. Remove the protocols h2 and h2c in httpd.conf so the server speaks HTTP/1.1 only:

Protocols http/1.1