Critical RCE Vulnerability in Apache HTTP Server wiz.io · 282 points · 136 comme...

@best30

Critical RCE Vulnerability in Apache HTTP Server wiz.io · 282 points · 136 comments · HN thread

TL;DR Wiz published an advisory on CVE-2026-119618, a race condition in Apache httpd's mod_http2 (assign_headers()) that can corrupt heap memory and, per Wiz and Red Hat, potentially allow remote unauthenticated code execution. Affected Apache 2.4.55 through 2.4.70 should upgrade to 2.4.71; disabling HTTP/2 is the interim mitigation. The article's text contains some errors, such as a CVE number mismatch in its own intro.

  • CVE-2026-119618 is a race condition in mod_http2's assign_headers() that can corrupt heap memory; Wiz says a remote, unauthenticated attacker could reach arbitrary code execution.
  • Wiz says no exploit is publicly available and there are no reports of exploitation in the wild as of publication.
  • Affected: Apache HTTP Server 2.4.55 through 2.4.70 (fixed in 2.4.71), and standalone mod_h2 2.0.8 through 2.0.42 (fixed in 2.0.24 and newer per the table).
  • Wiz reports 64% of cloud environments have vulnerable resources and 51% have publicly exposed instances, without accounting for configuration.
  • Mitigation: upgrade, or restrict protocols to http/1.1 by removing h2 and h2c, which disables the attack path.
  • The issue was independently discovered by Anthropic and Google Cloud's Vulnerability Research Team; the article's intro cites a different CVE number than its body.

Discussion The thread is a mix of security analysis, sysadmin practicalities and a long tangent on whether Apache is still a good choice. Early commenters shared the upstream patch and the official advisory, then debated whether memory corruption should be called RCE without a public proof of concept, until Red Hat's advisory claiming a reliable exploit was pointed out. Many commenters flagged the Wiz article as sloppy (wrong CVE number, GitHub listed as vendor). A sizable side discussion compared Apache with nginx, Caddy and Rust-based servers, with .htaccess and PHP hosting as recurring themes. The mood is mostly pragmatic and somewhat skeptical of the vendor marketing, with some sarcasm about AI-found bugs.

  • Patch now and disable HTTP/2 as an interim mitigation (many): Practical advice centers on upgrading to 2.4.71 or disabling h2 in config. Commenters note that a2dismod http2 or disabling the module works, and warn that restarts can be undone by certbot timers or systemd units unless they are masked.
  • Calling it RCE is overstated without a PoC (some): Several commenters argued memory corruption alone does not equal RCE and that the framing feels inflated. Others replied that Red Hat cites a reliable public exploit and that attackers are creative with memory corruption primitives.
  • Apache still works well and has useful features (many): Defenders of Apache point to mod_md for ACME certificates, .htaccess for PHP hosting, shibboleth integration and a wide install base. They dismiss the idea that it is dead and say the choice is mostly about familiarity.
  • Apache and PHP stack is a poor choice; use nginx or Caddy (some): Critics called .htaccess a long-standing source of security bugs and said nginx is easier to configure and faster. Others replied that nginx and Caddy are fine but the performance gap is now small.
  • HTTP/2 adds complexity and is not worth it (a few): A few commenters argued HTTP/2 was a mistake and HTTP/1.1 suffices. Others countered that HTTP/2 materially lowers latency for distant users.
  • AI-assisted discovery and patching is a concern (a few): Some noted the bug was found by LLMs and worry about AI-written code in Apache. Others compared AI bug finding to fuzzers and static analysis and called the anti-AI stance unhelpful.

Links from the comments

#Apache #CVE #RemoteCodeExecution #HTTP2 #WebServers #Security