How To

Patch Apache CVE-2026-119618 on RHEL, Rocky Linux and AlmaLinux

Rocky Linux 10 and 9 still install a mod_http2 build that is vulnerable to CVE-2026-119618, a critical heap corruption flaw that can end in remote code execution. Red Hat shipped fixed packages for RHEL 10 and 9 on 11 November 2026, and AlmaLinux had its own rebuilds in AppStream within a day. Rocky had nothing in its repositories when we checked a day later.

Original content from computingforgeeks.com - post 189545

This guide patches the hosts that have a fix, proves no httpd worker still maps the old module, and gives Rocky admins two tested ways to switch HTTP/2 off until their build lands. It also shows why the EL8 releases sit outside the affected range. Every step ran on 12 November 2026 on fresh Rocky Linux 10.2, 9.8 and 8.10 and AlmaLinux 10.2 and 9.8 servers using only the vendor repositories. RHEL itself was not in the lab, so its rows rest on the Red Hat errata.

Patch status across the RHEL family

The Apache advisory fixes the flaw in httpd 2.4.71 and lists the standalone mod_h2 module as affected too. RHEL-family servers never run upstream httpd, though. They run a rebased mod_http2 package, so the version that matters on your host is the package release in this table, not the Apache version string.

ReleaseFixed mod_http2Where it comes fromRun in our lab
RHEL 10mod_http2-2.0.29-5.el10_3.1RHSA-2026:98978No
RHEL 9mod_http2-2.0.26-7.el9_9.1RHSA-2026:98981No
AlmaLinux 10mod_http2-2.0.29-4.el10_2.2.alma.1AppStream, no advisory in updateinfo on 12 NovemberYes
AlmaLinux 9mod_http2-2.0.26-6.el9_8.2.alma.1AppStream, no advisory in updateinfo on 12 NovemberYes
Rocky Linux 10None yetNo RLSA on 12 NovemberYes
Rocky Linux 9None yetNo RLSA on 12 NovemberYes
RHEL, Rocky, AlmaLinux 8Not affectedRed Hat CVE pageRocky 8 only

Red Hat scores the flaw CVSS 9.8 but rates RHEL 10 and 9 Important rather than Critical, because those releases allocate each HTTP/2 stream from its own allocator. Do not read that as permission to wait. The same statement says public research has shown a reliable exploit against a default configured server with mod_http2 enabled, and an Important rating still means a network attacker with no credentials. The allocator design makes exploitation harder on these releases, not impossible. Patch the RHEL hosts in the same window as everything else, and keep the CVSS score in your ticket so nobody downgrades the urgency later.

Don’t compare RHEL and AlmaLinux release strings with each other either. The RHEL builds carry the newer minor release tags, while AlmaLinux patched the builds already in its current repositories, so check each host against its own row. RHEL hosts pinned to an EUS or older minor stream may need a different erratum, so look up your stream on the CVE page. If you want the background on the bug and the other distributions, our CVE-2026-119618 overview covers both. Hosts run by the DirectAdmin control panel compile Apache through CustomBuild instead of using the mod_http2 package, so dnf never patches them; the DirectAdmin CustomBuild Apache patch covers that rebuild.

The exposure on a stock httpd install

A fresh dnf install httpd mod_ssl on these releases pulls mod_http2 in and loads it, so the module is present on nearly every Apache host you have. Whether a client can reach the vulnerable code depends on one directive. Start with the package and module state:

rpm -q httpd mod_http2
httpd -M 2>/dev/null | grep -i http2
cat /etc/httpd/conf.modules.d/10-h2.conf

On the AlmaLinux 10 host we pinned the last vulnerable build at install time, because a fresh install there now pulls the fixed one. Both HTTP/2 modules were loaded from the stock module config:

httpd-2.4.63-13.el10_2.8.x86_64
mod_http2-2.0.29-4.el10_2.2.x86_64
 http2_module (shared)
 proxy_http2_module (shared)
LoadModule http2_module modules/mod_http2.so

A loaded module is not the same as an offered protocol. Apache negotiates HTTP/2 only where a Protocols line lists h2 or h2c, and Red Hat says servers without one aren’t affected. Search the whole config tree, because a vhost file can carry its own line that overrides the global one:

sudo grep -rn '^\s*Protocols' /etc/httpd/

The stock install returned nothing. A grep only reads files, though, so probe what the running server actually negotiates. The first probe tries HTTP/2 over TLS on port 443, and the second sends cleartext h2c with prior knowledge to port 80:

curl -sk --http2 -o /dev/null -w '%{http_version}\n' https://localhost/
curl -s --http2-prior-knowledge -o /dev/null -w '%{http_version}\n' http://localhost/

Read the two numbers this way, and run the probes against every address and port your vhosts listen on, not only localhost:

  • 1.1 from the TLS probe means the server refused h2 during ALPN and fell back to HTTP/1.1.
  • 0 from the cleartext probe means the connection failed, because an HTTP/1.1 server can’t parse the h2c preface. A closed port prints 0 too.
  • 2 from either probe means that listener speaks HTTP/2 and reaches the vulnerable code.

A 0 on its own is not conclusive. A host with H2Direct off refuses the prior-knowledge probe but can still upgrade a plain HTTP/1.1 request to h2c, so the Protocols grep above decides the cleartext case, not the probe. Treat the probes as confirmation of what the grep found.

Our stock hosts printed 1.1 and 0. Most production servers do not look like that, because enabling HTTP/2 is one of the first things people tune. To reproduce a typical exposed host, we added the line that most HTTP/2 guides recommend and restarted httpd:

echo 'Protocols h2 h2c http/1.1' | sudo tee /etc/httpd/conf.d/http2-protocols.conf
sudo httpd -t
sudo systemctl restart httpd

After that restart both probes printed 2, and a HEAD request came back as HTTP/2 403 from the default welcome page. That’s the state the rest of this guide fixes, shown here on AlmaLinux 10. Rocky Linux 10 and 9 and AlmaLinux 9 produced the same output with their own package versions.

AlmaLinux 10 terminal showing mod_http2 loaded and curl negotiating HTTP/2 only after a Protocols line is added

If any listener on your host prints 2, treat it as exposed until the package below is installed and httpd has restarted. The rest of this guide splits by distribution, so skip straight to your release.

The AlmaLinux build that dnf –cve misses

AlmaLinux published its fixed mod_http2 to AppStream without an updateinfo advisory. That breaks the usual security workflow, since dnf upgrade --cve and dnf upgrade --security pick packages from advisories, not from changelogs. Check what the advisory metadata knows before you trust a CVE-filtered run:

sudo dnf updateinfo list --available | grep -iE 'httpd|http2'
sudo dnf upgrade --cve CVE-2026-119618 --assumeno

The grep printed nothing, and the CVE-filtered upgrade declared the host clean while the vulnerable module was still loaded:

No security updates needed, but 9 updates available
Dependencies resolved.
Nothing to do.
Complete!

A plain check-update tells the real story. It ignores advisories and lists the newer package straight from the repository metadata:

sudo dnf check-update mod_http2 httpd

Only mod_http2 is listed, with the .alma.1 suffix that marks an AlmaLinux rebuild. The httpd package itself did not change, because the fix lives entirely in the module:

mod_http2.x86_64               2.0.29-4.el10_2.2.alma.1                appstream

The screenshot below captures the whole gap on one AlmaLinux 10 host, including dnf updateinfo list --cve CVE-2026-119618 returning an empty list. AlmaLinux 9 behaved the same way.

AlmaLinux 10 dnf upgrade --cve reporting no security updates while check-update lists the fixed mod_http2 alma.1 build

Keep that screenshot in mind when a scanner or a patch report says the host is clean, because the report and the running module disagree.

“No security updates needed, but 9 updates available”

This message on an AlmaLinux host does not mean CVE-2026-119618 is patched. It means no advisory in the metadata names the CVE. Any patch tooling that wraps --security or --cve, including dnf-automatic with upgrade_type = security, filters on the same advisory data and will skip this package. Upgrade the package by name, as the next section does, until an advisory appears.

The mod_http2 upgrade on AlmaLinux and RHEL

Name the package explicitly so dnf does not need an advisory to find it. Only mod_http2 is pulled in, so the transaction is small enough to run inside a normal change window:

sudo dnf upgrade -y mod_http2

On AlmaLinux 10 the transaction replaced one package of about 161 KB:

Upgrading:
 mod_http2      x86_64      2.0.29-4.el10_2.2.alma.1       appstream      161 k

Transaction Summary
================================================================================
Upgrade  1 Package
...
Upgraded:
  mod_http2-2.0.29-4.el10_2.2.alma.1.x86_64

Complete!

A version bump alone doesn’t prove the fix, so read the package changelog. The fixed build names the CVE in its newest entry, and a build without that line is still vulnerable whatever its release number says:

rpm -q --changelog mod_http2 | head -6

The AlmaLinux entry is dated 11 November 2026 and also covers CVE-2026-57941, a use-after-free in the same module that Red Hat fixed in the same errata:

* Wed Nov 11 2026 Andrew Lukoshko <[email protected]> - 2.0.29-4.2.alma.1
- mod_http2: heap corruption and RCE in assign_headers (CVE-2026-119618)
- mod_http2: use-after-free via shared session->bbtmp re-entrancy (CVE-2026-57941)

* Wed Jun 24 2026 Luboš Uhliarik <[email protected]> - 2.0.29-4.2
- Resolves: RHEL-188008 - address CVE-2026-43951, CVE-2026-48913

AlmaLinux 9 printed the same two CVE lines against its own release. Here is the AlmaLinux 10 run in full, from rpm -q to the changelog:

AlmaLinux 10 rpm changelog for mod_http2 naming CVE-2026-119618 after the upgrade

On RHEL 10 and 9 the same sudo dnf upgrade -y mod_http2 pulls the RHSA build from the status table, and the changelog check applies unchanged. Red Hat publishes its advisories in updateinfo, so a --cve run should find the package there too. We didn’t run either on a RHEL subscription, so confirm the installed release against the RHSA page before you close the ticket. Our dnf package manager guide covers the updateinfo commands in more depth.

Workers still mapping the old module

Installing the package does not patch a running server. Every httpd process that started before the upgrade keeps the old mod_http2.so mapped in memory, and the kernel marks that mapping as deleted once rpm replaces the file. Check the parent process right after the upgrade:

sudo awk '/mod_http2/ {print $6, $7}' /proc/$(pgrep -o httpd)/maps | sort -u
sudo dnf needs-restarting -s

On AlmaLinux 9 the parent was still running the vulnerable code, and needs-restarting flagged the unit:

/usr/lib64/httpd/modules/mod_http2.so (deleted)
httpd.service

Restart httpd so the parent loads the new module and spawns fresh workers:

sudo systemctl restart httpd

Then sweep every httpd process rather than only the parent. A worker spawned before the restart could keep the deleted mapping alive, and this loop names any that do:

for p in $(pgrep httpd); do sudo grep -q 'mod_http2.so (deleted)' /proc/$p/maps && echo "stale: $p"; done; echo "stale check done"

The loop printed only stale check done, the mapping lost its (deleted) marker, and both curl probes still returned 2. HTTP/2 keeps working on the fixed module, so the patch costs you nothing on the protocol side:

AlmaLinux 9 httpd process mapping a deleted mod_http2.so until systemctl restart httpd clears it

We used a full restart because it’s the one we could verify end to end. If your change process only allows a reload, run the same loop afterwards, because a reload that leaves one old worker behind leaves the vulnerable code reachable on that worker’s connections. A clean result is the proof the patch is live, not the command you ran. Hosts behind a load balancer can take the restart one at a time, so the outage risk is small compared with an unpatched listener.

Rocky Linux 10 and 9 without a fixed build

Rocky rebuilds from the published Red Hat sources, and on 12 November its repositories still carried the vulnerable mod_http2. Refresh the metadata first, so a stale cache cannot hide a build that landed an hour ago:

sudo dnf -y makecache --refresh
sudo dnf check-update mod_http2 httpd ; echo "exit=$?"
rpm -q --changelog mod_http2 | grep -c CVE-2026-119618
dnf repoquery --changelogs --latest-limit 1 mod_http2 | grep -c CVE-2026-119618

Exit code 0 from check-update means no update is available, and both changelog counts came back as zero. The installed package and the newest one in the repository both stop at the June fixes:

exit=0
0
0

Rocky Linux 9 returned the same result. The Rocky errata feed had no httpd or mod_http2 advisory either, and the newest advisory it listed was RLSA-2026:98100, published at 12:02 UTC that day. Rerun the four commands above before you apply a workaround, because the fix may have landed since we checked:

Rocky Linux 10 showing no mod_http2 update and a changelog without CVE-2026-119618

If repoquery prints 1, upgrade by name and restart exactly as the AlmaLinux sections show. Until it does, an exposed Rocky host needs HTTP/2 switched off. Two controls worked in the lab, and they do not stop the same things:

ControlWhat it stopsWhat it lets through
Protocols http/1.1h2 and h2c on every listener the line coversAny vhost with its own Protocols h2 line, now or added later
Comment out LoadModule http2_moduleEvery inbound HTTP/2 connection, whatever the config saysNothing inbound; mod_proxy_http2 stays loaded for backends

Use the module change on any host where more than one person edits vhost files. The Protocols line is fine on a single-site server you control end to end.

A Protocols line that drops HTTP/2

This control closes the exposure where Red Hat defines it: no h2 or h2c in Protocols. List every existing line first, because a vhost that sets its own value ignores the global one:

sudo grep -rn 'Protocols' /etc/httpd/

Our Rocky Linux 10 host had one hit, the global line from the exposure test:

/etc/httpd/conf.d/http2-protocols.conf:1:Protocols h2 h2c http/1.1

Replace it with HTTP/1.1 only, and edit any vhost hit the same way. The && stops the restart if the syntax check fails, so a typo can’t take the site down:

echo 'Protocols http/1.1' | sudo tee /etc/httpd/conf.d/http2-protocols.conf
sudo httpd -t && sudo systemctl restart httpd

The probes then printed 1.1 and 0, the same as a stock install. Notice what httpd -M still reports, though: the vulnerable module is loaded, just not offered to clients.

Rocky Linux 10 Protocols http/1.1 workaround with curl falling back to HTTP/1.1 while http2_module stays loaded

That loaded module is the weakness of this control. Anyone who later adds Protocols h2 http/1.1 to a new vhost, or deploys a config template from another host, reopens the hole without a warning. Configuration management makes this worse, because a playbook that templates vhosts from a shared role will happily put the h2 line back on its next run. If you cannot police every config change until Rocky ships, unload the module instead.

The http2_module line commented out

Commenting out the LoadModule line removes the vulnerable code from the server process altogether, so no Protocols value can reach it. Check for HTTP/2 tuning first, because every H2 directive such as H2Push or H2MaxWorkers comes from this module. Once it is gone, httpd refuses to start on any such line that sits outside an <IfModule http2_module> block:

sudo grep -rniE '^\s*H2[A-Za-z]+' /etc/httpd/

On a tuned server, comment out each hit or wrap it in <IfModule http2_module> before you go further, or the restart below takes the site down. Then edit the module config in place rather than deleting the file:

sudo sed -i 's/^LoadModule http2_module/#LoadModule http2_module/' /etc/httpd/conf.modules.d/10-h2.conf
cat /etc/httpd/conf.modules.d/10-h2.conf

The file should now hold a single commented line:

#LoadModule http2_module modules/mod_http2.so

To test the worst case, we put Protocols h2 h2c http/1.1 back before restarting. Watch the syntax check here, because it’s the reason this section exists:

sudo httpd -t && sudo systemctl restart httpd
systemctl is-active httpd
httpd -M 2>/dev/null | grep -i http2

Apache accepted a config that asks for h2 with no module to serve it, started cleanly, and loaded only the proxy module:

Syntax OK
active
 proxy_http2_module (shared)

Both probes returned 1.1 and 0 even with h2 still listed. So the config no longer describes what the server serves, and the next admin who reads it may assume HTTP/2 is on. Leave a comment in the vhost or a note in your ticket. The mod_proxy_http2 module stays loaded from 10-proxy_h2.conf; it speaks HTTP/2 to backends behind ProxyPass and is not governed by Protocols.

Package operations are the next risk, since a reinstall or update could restore the line. The file is marked as config, and a reinstall kept our edit:

sudo dnf reinstall -y mod_http2
rpm -V mod_http2

The c flag marks a config file, and S.5....T. says its size, checksum and timestamp differ from the package. No .rpmnew file appeared, and the LoadModule line stayed commented:

S.5....T.  c /etc/httpd/conf.modules.d/10-h2.conf

The full run on Rocky Linux 10 is below, and Rocky Linux 9 gave identical results:

Rocky Linux 10 with the http2_module LoadModule line commented out, HTTP/2 refused and the edit surviving a package reinstall

When the fixed Rocky build arrives, upgrade mod_http2, remove the leading # from 10-h2.conf, restart httpd and confirm the probes print 2 again. The file is marked noreplace, so the update keeps your commented line and HTTP/2 stays off until you remove the # by hand. Put that step in the same change ticket as the upgrade, or the host quietly serves HTTP/1.1 for months.

Rocky Linux 8 and the older mod_http2 line

EL8 ships httpd from a module stream, with mod_http2 on the 1.15 line rather than the rebased 2.0 code. Red Hat states that mod_http2 before 2.0.8 lacks the affected code, so RHEL 8 and its rebuilds aren’t affected. We still checked, because an EL8 host serving HTTP/2 looks exactly like an exposed one from outside:

rpm -q httpd mod_http2
dnf module list httpd 2>/dev/null | grep httpd
rpm -q --changelog mod_http2 | grep -c CVE-2026-119618

The host ran the default 2.4 stream, with the module package on the 1.15 line and no changelog entry for the CVE:

httpd-2.4.37-65.module+el8.10.0+40402+af9563a3.13.x86_64
mod_http2-1.15.7-10.module+el8.10.0+40257+286895ef.7.x86_64
httpd 2.4 [d][e] common [d], devel, minimal Apache HTTP Server
0

With Protocols h2 h2c http/1.1 set, both probes printed 2. That is the trap: an external scanner that only checks for HTTP/2 will flag every EL8 host, and a team under pressure may start commenting out modules on servers that were never at risk. Decide exposure by the package line, not the protocol. An EL8 host is out of scope when all of these hold:

  • rpm -q mod_http2 reports a 1.15 release with a module+el8 tag.
  • dnf module list httpd shows the distribution 2.4 stream as enabled.
  • httpd -v names the distribution build, not a vendor or source build.

Our Rocky Linux 8 host met all three while serving HTTP/2 on both listeners, which the full run shows:

Rocky Linux 8 serving HTTP/2 from the mod_http2 1.15 module stream that predates CVE-2026-119618

The exception is an EL8 host running httpd from a third-party repository or a source build. Neither uses the module stream, so check those the same way you’d check upstream Apache, against the affected range in the Apache advisory. Our PHP2Shell patch guide for the same distributions follows the same split by release for the PHP stack on these hosts.

Sign-off checks for each httpd host

A ticket for this CVE should close only when every condition below holds on every Apache host, checked with the commands above rather than taken from a patch report:

  1. Every AlmaLinux 10 and 9 host runs the .alma.1 mod_http2 build or a newer one, and its changelog names CVE-2026-119618.
  2. Every RHEL 10 and 9 host runs the RHSA build from the status table or a newer one.
  3. No httpd process maps mod_http2.so (deleted), and dnf needs-restarting -s doesn’t list httpd.service.
  4. Each Rocky Linux 10 and 9 host either carries a build whose changelog names the CVE or prints 1.1 and 0 on every listener.
  5. Every Protocols line that grep -rn finds, including those in vhost files, is accounted for in the ticket.
  6. Each host with a commented LoadModule line has a follow-up task to restore it after the Rocky update.
  7. Every EL8 host runs httpd from the distribution module stream, not a third-party build.

Patch automation is where this CVE slips through. The dnf-automatic timer from our Rocky Linux and AlmaLinux post-install checklist runs with upgrade_type = security, so on AlmaLinux it skips this build. Only upgrade_type = default would pick it up, and that pulls every pending update with it. Push a one-off dnf upgrade -y mod_http2 and restart through your configuration management instead, then let the timer take over once the advisories catch up. The GitLab CVE-2026-110264 walkthrough uses the same verify-after-patch approach for an application stack.

Keep reading

Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs Security Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch Security nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys AI agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys Drupal SA-CORE-2026-019 (CVE-2026-136716): Check and Patch Security Drupal SA-CORE-2026-019 (CVE-2026-136716): Check and Patch Cybersecurity Measures to Protect Against Fraudulent Company Trading Security Cybersecurity Measures to Protect Against Fraudulent Company Trading

Leave a Comment

Press ESC to close