CVE-2026-56154 is a use-after-free in Apache httpd’s mod_rewrite, and it only bites a server whose rewrite rules read a request header through the lookahead form %{LA-U:HTTP:...}. Every httpd from 2.4.0 through 2.4.68 is affected; 2.4.69 fixed it on 1 October 2026.
The scores do not agree. Apache rates it low, Red Hat Important at 8.1, and the CISA score on NVD reads 9.8 critical. On 29 November 2026 the EPSS score was 0.0056, the CVE wasn’t in CISA’s Known Exploited Vulnerabilities catalog, and we found no exploit or press coverage. It’s a separate bug from the HTTP/2 flaw in our CVE-2026-119618 guide for RHEL, Rocky and AlmaLinux, so check hosts patched for that one too. Patch it this week with your normal update, but you do not need a weekend for it. The captures below come from Ubuntu, Debian, Rocky, Alma, Amazon Linux and Alpine in November 2026.
Find the fixed Apache build for your distro
Compare the package release you have installed, never the number apache2 -v or httpd -v prints. Ubuntu and the RHEL family backport the fix into an old upstream base, so a patched Ubuntu 24.04 box still says 2.4.58. Rows marked “Lab” were installed vulnerable and then patched on our test hosts. The Alpine row is the exception, because its repos only serve the fixed build. “Tracker” rows come from the vendor’s security tracker only.
| Distro | Release | First fixed build | Advisory | Checked |
|---|---|---|---|---|
| Ubuntu | 26.04 resolute | apache2 2.4.66-2ubuntu2.5 | USN-8898-1 | Lab |
| Ubuntu | 24.04 noble | apache2 2.4.58-1ubuntu8.16 | USN-8898-1 | Lab |
| Ubuntu | 22.04 jammy | apache2 2.4.52-1ubuntu4.24 | USN-8898-1 | Lab |
| Ubuntu Pro (ESM) | 20.04 / 18.04 | 2.4.41-4ubuntu3.23+esm8 / 2.4.29-1ubuntu4.27+esm12 | USN-8898-1 | Tracker |
| Debian | 13 trixie | apache2 2.4.69-1~deb13u1 (now 2.4.71-1~deb13u1) | DSA-6569-1 | Lab |
| Debian | 12 bookworm | apache2 2.4.71-1~deb12u1 | DLA-4902-1 | Lab |
| RHEL, Rocky, Alma | 10.2 and later | httpd 2.4.63-13.el10_2.8 | RHSA/RLSA-2026:89860 | Lab (Rocky) |
| RHEL, Rocky, Alma | 9.8 and later | httpd 2.4.62-13.el9_8.9 | RHSA-2026:88229, ALSA-2026:88229 | Lab (Alma) |
| RHEL, Rocky, Alma | 8.10 | httpd:2.4 module, 2.4.37-65 build .13 | RHSA/RLSA-2026:92616 | Lab (Rocky) |
| Amazon Linux | 2023 | httpd 2.4.69-1.amzn2023.0.2 | ALAS2023-2026-3202 | Lab |
| Amazon Linux | 2 | httpd 2.4.69-1.amzn2.0.3 | ALAS2-2026-3990 | Lab |
| Alpine | 3.21 to 3.24, edge | apache2 2.4.69-r0 | secdb | Lab (3.22, 3.24 current build only) |
If your build is at or above the one listed, you are covered, and most mirrors will already give you a later one. Our lab hosts pulled noble 2.4.58-1ubuntu8.20, Debian 2.4.71, Amazon Linux 2.4.71 and Alpine 2.4.71-r0, all of which include the fix. The sources behind each row are the Ubuntu CVE page, the Debian security tracker, Red Hat’s CVE page, the Amazon AL2023 and AL2 bulletins, and the Alpine security tracker.
Three groups get nothing from a plain update. RHEL 7 is listed as affected with no fix, so the mitigation further down is the only option there. Alpine 3.20 is end of life and our 3.20.10 container still installed 2.4.67. Ubuntu 20.04 and 18.04 need an Ubuntu Pro attach to reach the ESM builds, and 16.04 and 14.04 get theirs through Pro Legacy Support. Ubuntu 26.10 is fixed in 2.4.68-1ubuntu6.1 from the later USN-9016-1.
Check whether the bug can reach your server
LA-U tells mod_rewrite to run an internal URL-based sub-request to learn the final value of a variable before the main request gets there. The mod_rewrite documentation describes it for things like REMOTE_USER. When the variable is a request header (%{LA-U:HTTP:Some-Header}), httpd 2.4.68 and older keep the header name recorded for the Vary response header pointing into the sub-request’s memory, which is freed as soon as the lookahead finishes. The upstream fix copies it into the main request’s pool before the sub-request goes away, and patches the LA-F branch the same way. Apache’s own security page credits Nebula Security with the report.
For an attacker to get anywhere, all of these have to hold on the target:
- mod_rewrite is loaded. RHEL, Rocky, AlmaLinux and Amazon Linux load it by default; Debian and Ubuntu don’t until someone runs
a2enmod rewrite. - A
RewriteCondorRewriteRuleuses%{LA-U:HTTP:...}, in the server config or in an.htaccessfile. - The installed build predates the fix in the table above.
That second condition is why the scores split. NVD’s 9.8 assumes any network client can reach the bug with no special setup, while Apache (low) and Ubuntu (medium priority) weigh how rarely anyone writes a lookahead header rule. Red Hat sits between them with high attack complexity. In practice the dangerous hosts are shared hosting boxes where customers write their own .htaccess, because you do not control what rules your customers write there. The default configs on our Rocky 10, AlmaLinux 9 and Rocky 8 hosts had no LA-U rule at all, but a stock install proves nothing about the config you’ve built on top of it.
Check the installed Apache build
Start with the package version and the package changelog, which is where Debian and Ubuntu record every CVE a build fixes. On Debian and Ubuntu, query both the apache2 and apache2-bin packages, since the server binary lives in the second one.
dpkg-query -W -f='${Package} ${Version}\n' apache2 apache2-bin
apt-cache policy apache2-bin
zgrep -c CVE-2026-56154 /usr/share/doc/apache2/changelog.Debian.gz
On our unpatched Ubuntu 24.04 host the installed build was the original release pocket one, with the fixed build waiting as the candidate:
apache2 2.4.58-1ubuntu8
apache2-bin 2.4.58-1ubuntu8
apache2-bin:
Installed: 2.4.58-1ubuntu8
Candidate: 2.4.58-1ubuntu8.20
Version table:
2.4.58-1ubuntu8.20 500
500 http://us-east1.gce.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
*** 2.4.58-1ubuntu8 500
500 http://us-east1.gce.archive.ubuntu.com/ubuntu noble/main amd64 Packages
100 /var/lib/dpkg/status
0
A count of 0 from zgrep means the changelog never mentions the CVE, so the build is vulnerable. Once patched, the count goes above zero, and zgrep -n shows where the fix entry sits. The screenshot below adds apache2 -v, which reports 2.4.58 here and still reports 2.4.58 after the fix, so do not base any inventory script on it.

On the RHEL family, Amazon Linux included, ask RPM for the version and grep its changelog instead. Red Hat titles this entry “Denial of Service via mod_rewrite lookahead”, so grep for the CVE ID rather than the words “use-after-free”.
rpm -q httpd
rpm -q --changelog httpd | grep -m1 -B3 CVE-2026-56154
No output from the changelog grep means the fix is not installed on your host. Next, find out whether you even use the vulnerable construct. This recursive grep covers the config tree and every .htaccess file under the web root. On RHEL and Amazon Linux, swap /etc/apache2 for /etc/httpd and use httpd -M in place of apache2ctl -M. Add any other document roots you serve from, such as /srv or user home directories.
sudo grep -rnE '%\{LA-[UF]:' /etc/apache2 /var/www
sudo apache2ctl -M | grep rewrite
The pattern also matches LA-F, the file-based lookahead, because the upstream patch fixed the same code pattern in that branch too. Empty grep output plus a vulnerable build still means patch, but it moves the job from urgent to routine.
Upgrade apache2 on Ubuntu
Ubuntu’s pro client can tell you what a fix needs before you touch anything. It works on a host without a Pro attach as long as the fix is in standard updates, which it is for 22.04, 24.04, 26.04 and 26.10.
sudo pro fix CVE-2026-56154 --dry-run
It names the affected source package and prints the exact apt command it would run for you.
WARNING: The option --dry-run is being used.
No packages will be installed when running this command.
CVE-2026-56154: Apache HTTP Server vulnerabilities
- https://ubuntu.com/security/CVE-2026-56154
1 affected source package is installed: apache2
(1/1) apache2:
A fix is available in Ubuntu standard updates.
{
apt update && apt install --only-upgrade -y apache2 apache2-bin apache2-data \
apache2-utils
}
✔ CVE-2026-56154 is resolved.
Ignore that last line. It’s the dry run reporting what would happen, and nothing was installed at that point. We almost logged this host as clean from it.

Run the upgrade itself with --only-upgrade so it never pulls in Apache packages that weren’t installed. Running sudo pro fix CVE-2026-56154 without --dry-run does the same job if you’d rather let the Pro client handle it.
sudo apt update
sudo apt install --only-upgrade -y apache2 apache2-bin apache2-data apache2-utils
The tail of that run shows needrestart deciding nothing needs a restart.
Setting up apache2-data (2.4.58-1ubuntu8.20) ...
Setting up apache2-utils (2.4.58-1ubuntu8.20) ...
Setting up apache2 (2.4.58-1ubuntu8.20) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for ufw (0.36.2-6) ...
Running kernel seems to be up-to-date.
No services need to be restarted.
That message is true only because the package’s own maintainer script had already restarted apache2. The service start time moved from 11:14:27 to 11:16:45 during the upgrade on our noble host, and the Debian hosts behaved the same way. Confirm it on your own server, along with the changelog entry:
zgrep -n CVE-2026-56154 /usr/share/doc/apache2/changelog.Debian.gz
systemctl show apache2 -p ActiveEnterTimestamp
The changelog now carries the patch file and the CVE, and the first build to carry them is the 8.16 security release from the table:
94: - debian/patches/CVE-2026-56154.patch: Copy lookahead value in
96: - CVE-2026-56154
ActiveEnterTimestamp=Mon 2026-11-30 11:16:45 UTC
The screenshot repeats the whole check after the upgrade, with apache2 -v at the bottom still reading 2.4.58 even though the build is fixed. Ubuntu 22.04 and 26.04 went the same way in our lab, ending on 2.4.52-1ubuntu4.28 and 2.4.66-2ubuntu2.9.

If this Ubuntu box was built from our Apache, PHP and MariaDB on Ubuntu guide, the same command covers it, because that stack uses the distro apache2 packages. The Ubuntu fix for the earlier CVE-2026-119618 lands through the same packages too.
Upgrade apache2 on Debian 12 and 13
Debian’s debsecan reads the security tracker and maps it onto installed packages, which gives you a quick check you can run across a fleet. Install it once with sudo apt install debsecan, then filter for this CVE:
debsecan --suite bookworm --format detail | grep -A3 CVE-2026-56154
On the vulnerable bookworm host it lists the CVE once per binary package, trimmed here to the first two.
CVE-2026-56154 (fixed)
Use After Free vulnerability in Apache HTTP Server's mod_rewrite when ...
installed: apache2 2.4.68-1~deb12u1
(built from apache2 2.4.68-1~deb12u1)
--
CVE-2026-56154 (fixed)
Use After Free vulnerability in Apache HTTP Server's mod_rewrite when ...
installed: apache2-bin 2.4.68-1~deb12u1
(built from apache2 2.4.68-1~deb12u1)
“(fixed)” reads like good news, but in debsecan it means a fix exists that you haven’t installed. Use --suite trixie on Debian 13. Bookworm has a second catch: its main repository still serves the vulnerable 2.4.68 build, and the fix only comes from bookworm-security. A host with the security line missing from its sources will report “up to date” and stay exposed, so run apt-cache policy apache2-bin and make sure a security pocket appears in the version table.
sudo apt update
sudo apt install --only-upgrade -y apache2 apache2-bin apache2-data apache2-utils
Debian ships the newer upstream release rather than a backport, so the build jumps a few versions.
[...]
Unpacking apache2 (2.4.71-1~deb12u1) over (2.4.68-1~deb12u1) ...
Preparing to unpack .../apache2-bin_2.4.71-1~deb12u1_amd64.deb ...
Unpacking apache2-bin (2.4.71-1~deb12u1) over (2.4.68-1~deb12u1) ...
[...]
Setting up apache2-bin (2.4.71-1~deb12u1) ...
[...]
Setting up apache2 (2.4.71-1~deb12u1) ...
Rerun the debsecan filter. It now prints nothing, which is the result you want, and apache2 -v finally agrees with the package at 2.4.71. Debian is the one family where the version banner and the fix line up.

Our Debian 13 host started on 2.4.67-1~deb13u3 and ended on 2.4.71-1~deb13u1. Its changelog names the CVE in the 2.4.69-1~deb13u1 entry, the first trixie build to carry the fix, and 2.4.71 carries it forward. The Debian tracker shows both numbers: its status table lists trixie as fixed in 2.4.71-1~deb13u1, the build the security archive serves now, while the fixed-version data for DSA-6569-1 records 2.4.69-1~deb13u1. More Debian-specific notes on Apache packaging sit in our Debian guide for CVE-2026-119618.
Apply the httpd fix on RHEL, Rocky and Alma
Red Hat and both rebuilds publish advisories with CVE references in their repo metadata, so you can have dnf select the fix by CVE ID. List what applies to your host first.
sudo dnf updateinfo list --cve CVE-2026-56154
On Rocky Linux 10 the fix arrives as RLSA-2026:89860, which also pulls in mod_lua:
RLSA-2026:89860 Important/Sec. httpd-2.4.63-13.el10_2.8.x86_64
RLSA-2026:89860 Important/Sec. httpd-core-2.4.63-13.el10_2.8.x86_64
RLSA-2026:89860 Important/Sec. httpd-filesystem-2.4.63-13.el10_2.8.noarch
RLSA-2026:89860 Important/Sec. httpd-tools-2.4.63-13.el10_2.8.x86_64
RLSA-2026:89860 Important/Sec. mod_lua-2.4.63-13.el10_2.8.x86_64
The same advisory fixes several other httpd CVEs, including CVE-2026-63292 in mod_vhost_alias, so this update is worth taking even if you never touch rewrite rules. Apply only what the CVE needs:
sudo dnf upgrade -y --cve CVE-2026-56154
Five packages upgrade on Rocky 10 and AlmaLinux 9, and three on Rocky 8, which doesn’t install mod_lua by default:
Upgraded:
httpd-2.4.63-13.el10_2.8.x86_64
httpd-core-2.4.63-13.el10_2.8.x86_64
httpd-filesystem-2.4.63-13.el10_2.8.noarch
httpd-tools-2.4.63-13.el10_2.8.x86_64
mod_lua-2.4.63-13.el10_2.8.x86_64
Complete!
sudo dnf upgrade --security picks up the same httpd builds along with whatever else is pending. The screenshot combines both states on one Rocky 10 host: the advisory listing taken before the upgrade at the top, and the patched build with its changelog line, Resolves: RHEL-280355, underneath.

Now the part that caught us out. On Rocky 10 and Rocky 8 the httpd start time moved during the upgrade, but on AlmaLinux 9 it didn’t. The service kept running the old code from 11:24:03 until we restarted it by hand at 11:26:21, and dnf needs-restarting -s never listed httpd on any of the three hosts. Do not trust either signal. Restart explicitly after the upgrade, on every host you patch.
sudo systemctl restart httpd
systemctl show httpd -p ActiveEnterTimestamp
The timestamp has to be later than the upgrade. In the AlmaLinux 9 sequence below, the unchanged start time comes first, the fixed httpd-2.4.62-13.el9_8.9 build and its changelog sit in the middle, and the restart closes it.

RHEL 8 and its rebuilds ship httpd as the httpd:2.4 module stream, which is enabled by default. The same --cve upgrade works there and moves to the build ending in .13 under RLSA-2026:92616. If you followed our Apache, MariaDB and PHP on Rocky Linux guide, nothing about that stack changes the procedure.
Upgrade httpd on Amazon Linux 2023 and Amazon Linux 2
Amazon Linux 2023 follows upstream httpd releases closely, so there’s no backport to decode. Our container ran image release 2023.12.20261120, where the repo carries the fixed 2.4.69 build and the newer 2.4.71. Check the advisory first:
sudo dnf updateinfo list --cve CVE-2026-56154
With 2.4.68 installed, it points at ALAS2023-2026-3202:
ALAS2023-2026-3202 Important/Sec. httpd-core-2.4.69-1.amzn2023.0.2.x86_64
ALAS2023-2026-3202 Important/Sec. httpd-filesystem-2.4.69-1.amzn2023.0.2.noarch
ALAS2023-2026-3202 Important/Sec. httpd-tools-2.4.69-1.amzn2023.0.2.x86_64
ALAS2023-2026-3202 Important/Sec. mod_http2-1:2.4.69-1.amzn2023.0.2.x86_64
ALAS2023-2026-3202 Important/Sec. mod_lua-2.4.69-1.amzn2023.0.2.x86_64
We reset the container to 2.4.68 and tried four ways in. Each one landed on the newest build rather than the minimum fix, so you can pick whichever fits your patch tooling:
dnf upgrade --cve CVE-2026-56154dnf upgrade --advisory ALAS2023-2026-3202dnf upgrade --security, which also takes other pending fixes- a plain
dnf upgrade httpd
None of them needed --releasever on that image, since its repository already carried the fixed builds. The CVE form is the one to put in a runbook, since it documents why you ran it.
sudo dnf upgrade -y --cve CVE-2026-56154
rpm -q httpd
The query afterwards shows the newest AL2023 build in place.
httpd-2.4.71-1.amzn2023.0.1.x86_64
Amazon Linux 2 still uses yum, and its updateinfo knows the CVE too. yum updateinfo list cves | grep 56154 shows three httpd packages at 2.4.69-1.amzn2.0.3. Then update by CVE:
sudo yum update -y --cve CVE-2026-56154
It also jumps to the latest build in amzn2-core, skipping the minimum fix.
httpd x86_64 2.4.71-1.amzn2.0.1 amzn2-core 1.4 M
httpd-filesystem noarch 2.4.71-1.amzn2.0.1 amzn2-core 26 k
httpd-tools x86_64 2.4.71-1.amzn2.0.1 amzn2-core 90 k
Complete!
--advisory ALAS2-2026-3990 and yum update-minimal --security gave the same result. We ran Amazon Linux in containers with no service running, so restart httpd yourself with sudo systemctl restart httpd on an EC2 host, as on AlmaLinux.
Update apache2 on Alpine
Alpine is the simplest case on paper, since apk ships upstream releases with no backports. It’s also the one with no local CVE trail: apk info -a apache2 carries no secfix metadata, so the version number is all you get. On an existing host, upgrade the package as root and read the version back. There was no vulnerable run to show here: the 3.22 and 3.24 repos only serve the current fixed build, so no vulnerable 3.22 or 3.24 package could be installed. We checked fresh containers instead, where apk add --no-cache apache2 pulled the fixed build, and read it with the last two commands.
apk upgrade --update-cache apache2
apk policy apache2
httpd -v
On Alpine 3.24.4 the installed and repo versions are both fixed:
apache2 policy:
2.4.71-r0:
lib/apk/db/installed
https://dl-cdn.alpinelinux.org/alpine/v3.24/main
Server version: Apache/2.4.71 (Unix)
Alpine 3.22.8 gave the same 2.4.71-r0. The trap is old base images: an alpine:3.20 container installed 2.4.67 on the day we checked, because that branch is out of support and never got the fix. Alpine 3.21 got the fix but left support on 1 November 2026, so rebuild those images on 3.22 or later, then restart the container rather than reloading inside it, since a running container keeps the old binary.
Remove LA-U lookahead rules until you can patch
When a host can’t take the update today (a frozen appliance, a RHEL 7 box, a change window next month), take away the construct the bug needs. Red Hat’s workaround is to remove %{LA-U:HTTP:...} expressions or disable mod_rewrite, and replacing the lookahead with a direct header read is the gentler of the two. We tested the rewrite on an already patched Debian 13 host with a rule that redirects only when a header is present. The test proves the replacement keeps the same behavior; it does not show the bug being stopped.
RewriteEngine On
RewriteCond %{LA-U:HTTP:X-Lab-Flag} ^on$
RewriteRule ^/flag$ /index.html [R=302,L]
Find every such rule with the grep from the check section, then swap the lookahead for the plain %{HTTP:...} variable. This sed handles the rule in our lab file; adjust the path and header name to match what your grep found:
sudo sed -i 's/%{LA-U:HTTP:X-Lab-Flag}/%{HTTP:X-Lab-Flag}/' /etc/apache2/conf-available/lab-lookahead.conf
sudo apache2ctl configtest
sudo systemctl reload apache2
The rule behaved identically before and after the change. With the header, /flag returned 302; without it, 404:
curl -s -o /dev/null -w '%{http_code}\n' -H 'X-Lab-Flag: on' http://127.0.0.1/flag
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1/flag
Both runs printed the same pair of codes.
302
404
The full before and after, including the grep that comes back empty once the edit is in, is in the capture below. We ran this mitigation on an already patched host, since it only proves the rule rewrite keeps the same behavior.

One caveat before you sed every rule on the box. %{HTTP:Name} returns the header as the client sent it, while the lookahead returns it after the later phases run. The two only differ when something adds or changes that header afterwards, typically a mod_headers RequestHeader line that runs in the fixup phase. If your grep turns up both a lookahead rule and a RequestHeader for the same header, test that path before and after with curl as above. In .htaccess files the edit takes effect on the next request with no reload.
Treat the edit as a stopgap and still patch, because the advisories that fix this CVE close several other httpd flaws at the same time. If you track Apache CVEs across a fleet, the CVE-2026-119618 overview shows the same check pattern for the HTTP/2 bug, and the HTTP/2 mitigation guide covers the config side of that one. For spotting a worker that keeps crashing after an update, our Prometheus and Grafana setup for Apache is worth wiring up before the next advisory lands.