CVE-2026-56154: Apache HTTP Server mod_rewrite use-after-free via lookahead

CVE-2026-56154 · Severity: critical · CVSS 9.8 · Published 2026-10-01

Apache HTTP Server's mod_rewrite module contains a use-after-free vulnerability when processing lookahead directives (%{LA-U:HTTP:...}). An attacker could exploit this to crash the web server or potentially execute code, affecting any web server using this rewriting feature. Organizations running affected versions should upgrade to patch the vulnerability.

Technologies: Apache HTTP Server. Vendors: Apache.

Quick answers

Is CVE-2026-56154 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-56154 being exploited in the wild.
How severe is CVE-2026-56154?
Critical severity, with a CVSS score of 9.8, published 1 October 2026.
Which products and versions are affected?
Apache HTTP Server 2.4.0 through 2.4.68.
Is there a fix for CVE-2026-56154?
Yes: fixed in Apache HTTP Server 2.4.69. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-56154 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-56154?
Check whether you run Apache HTTP Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: Apache HTTP Server 2.4.69

Technical details

A use-after-free vulnerability exists in Apache HTTP Server's mod_rewrite module when handling lookahead expansion (%{LA-U:HTTP:...}). The vulnerability can be triggered by crafted HTTP requests to servers with mod_rewrite enabled and lookahead rules configured. Exploitation requires network access and no authentication; a fix is available in version 2.4.69.

Affected products

  • Apache HTTP Server 2.4.0 through 2.4.68

Timeline

  • 2026-05-25: disclosed
  • 2026-10-01: patched: Fixed in 2.4.x by r1938660
  • 2026-10-01: advisory: 2.4.69 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.