Patch Apache CVE-2026-119618 on a VPS: HTTP/2 RCE Fix
Here is the kind of security news that makes VPS owners groan: a critical flaw in the web server software running a huge share of the world’s websites, fixed two weeks ago, and a surprising number of servers still have not installed the patch. Apache CVE-2026-119618 is a race condition in Apache’s HTTP/2 module that lets an unauthenticated attacker corrupt server memory and, according to public research, run their own code on a default-configured server. It needs nothing more than HTTP/2 switched on — which is the default on most modern Apache setups. If your VPS runs Apache, this is the one update to do today. This guide covers what Apache CVE-2026-119618 actually is, which servers it can reach, how to check whether your VPS is affected in about two minutes, and the exact commands to patch Apache to 2.4.71 on Ubuntu, Debian, RHEL-based systems, and cPanel servers. It also covers the version-number trap that has already caught Ubuntu 22.04 owners, the honest limits of the disable-HTTP/2 stopgap, and what to do if you genuinely cannot patch today. Table of Contents What Is Apache CVE-2026-119618? Who Is Affected? The Ubuntu 22.04 Trap: Your Version Number Can Lie How to Check If Your VPS Is Affected Step 1: Patch Apache on Ubuntu and Debian Step 2: Patch Apache on RHEL, AlmaLinux, and Rocky Linux Step 3: Patch Apache on cPanel and EasyApache 4 Step 4: Patch Apache Built From Source Step 5: Verify the Patch Actually Landed Can’t Patch Right Now? Disable HTTP/2 as a Stopgap What Else Apache 2.4.71 Fixes How Bad Is It Really? After the Patch: Harden Apache While You Are Here FAQ The Bottom Line What Is Apache CVE-2026-119618? Apache CVE-2026-119618 is a race condition in mod_http2, the module that handles HTTP/2 connections in Apache HTTP Server. A race condition is what happens when two threads touch the same piece of memory at the same time and the timing breaks it. In this case the flaw sits in a function called assign_headers(), which assembles the response headers for an HTTP/2 request. Two threads can read and write the same shared header table without proper synchronization, and when they collide, heap memory gets corrupted. Heap corruption is the kind of bug that attackers turn into code execution, because the corrupted memory can be steered into running the attacker’s instructions inside the Apache process. Apache rates the flaw Critical. Red Hat, which assigns the public CVSS score, rates it 9.8 out of 10 — the top end of Critical — because an attacker who can reach the server needs no login at all. The Apache Software Foundation published its advisory and released the fix, Apache HTTP Server 2.4.71, on 11 November 2026. The same release also fixes two smaller flaws, covered below, so the update is worth installing even on a server that never turns HTTP/2 on. A few honest caveats belong up front, because the coverage of this flaw has not always been careful. First, there is no confirmed exploitation in the wild as of 20 November 2026, and the flaw does not appear in CISA’s Known Exploited Vulnerabilities catalog. Second, the public proof of concept published on 12 November reproduces the heap corruption under memory and thread sanitizers — it does not hand out a one-click remote shell. Third, public research has demonstrated a reliable exploit against a default-configured server with mod_http2 enabled, according to Red Hat, so the gap between “corruption demo” and “working exploit” is thin. None of that makes the patch optional. It means you have a short window to patch before working exploit code shows up in scanning tools. Who Is Affected? The short answer: any server running Apache HTTP Server 2.4.55 through 2.4.70 with HTTP/2 enabled. The longer answer has two traps in it, so read the table carefully before deciding you are safe. Component Affected versions Fixed in Apache HTTP Server (mod_http2) 2.4.55 – 2.4.70 2.4.71 Standalone mod_h2 (GitHub) 2.0.8 – 2.0.42 No fix — migrate to bundled mod_http2 in 2.4.71 Apache with HTTP/2 disabled Not exposed to this flaw Still update — 2.4.71 fixes two more flaws The first trap is the version range. Apache says 2.4.55 through 2.4.70, but several Linux distributions ship Apache versions below 2.4.55 that are still affected, because their packages carry newer HTTP/2 code backported into older releases. Ubuntu 22.04 ships Apache 2.4.52 and is affected. Ubuntu 20.04 ships 2.4.41 and is affected. Do not rule a server out on the version number alone — check your distribution’s fixed package version instead, which is covered in the patching steps below. The second trap is the HTTP/2 condition. Only servers with HTTP/2 enabled are exposed to this flaw, and that sounds reassuring until you check. On a typical VPS, HTTP/2 comes on with the Protocols h2 http/1.1 directive, and many control panels and one-click stacks enable it by default. cPanel is the exception worth knowing: its default prefork MPM cannot run mod_http2 at all, so a stock cPanel server is exposed only if the admin switched to the event or worker MPM and installed the ea-apache24-mod_http2 package. On an unmanaged VPS, assume HTTP/2 is on until you have checked. The standalone mod_h2 case deserves its own warning. The standalone module’s repository on GitHub has been archived since June 2026, so there is no fixed standalone release and there never will be. If your server loads the standalone mod_h2 instead of Apache’s bundled mod_http2, the only fix is to move to the bundled module in Apache 2.4.71. The Ubuntu 22.04 Trap: Your Version Number Can Lie This is the detail most likely to leave a VPS unpatched, so it gets its own section. Ubuntu 22.04 LTS ships Apache 2.4.52. The upstream affected range starts at 2.4.55. By the numbers, a 22.04 server looks safe — and it is not. Ubuntu’s security team notes on its CVE page that newer versions of the HTTP/2 module were backported to the stable releases, which means the vulnerable assign_headers() code
Patch Apache CVE-2026-119618 on a VPS: HTTP/2 RCE Fix Read More »




