CVE

Apache mod_http2 Exposure (CVE-2026-119618)

Find Apache servers negotiating HTTP/2 on builds in the CVE-2026-119618 range, with banner caveats stated plainly, plus an h2c cleartext check.

AuthorTrickest
100%

Notes on this workflow

Target List

A FILE of server URLs, one per line (https preferred; an explicit port pins the probe to that port; cleartext hosts get the h2c preface check). The workflow fails closed when the input is missing or empty.

Apache mod_http2 Exposure Check — CVE-2026-119618

Finds Apache HTTP Server hosts with HTTP/2 enabled and classifies exposure to CVE-2026-119618 (race condition in mod_http2 assign_headers() -> heap corruption -> possible RCE, CVSS 9.8 vendor / 8.1 NVD due to race complexity). Exposure/fingerprint only: the trigger is a worker-crashing race of concurrent requests, so this workflow never sends concurrent request storms or the race shape (bodyless request with Content-Type but no Content-Length, repeated in parallel) — that would be a deliberate DoS against a production server. Probe = one GET, one TLS ALPN negotiation, one h2c preface. Banner caveat everywhere: distro backports make the Server header unreliable for mapping the mod_http2 module version. httpd security page

H2 Probe — how it works

1. One HTTPS GET reads the Server header and Apache markers (the banner alone never proves anything). 2. HTTP/2 exposure via TLS ALPN: one handshake offering h2 + http/1.1, reading the negotiated protocol — no HTTP/2 frames sent, no race. 3. h2c: one well-formed HTTP/2 preface (magic + a single empty SETTINGS frame) on one port only; a SETTINGS reply answers the question. Verdicts: h2 enabled + banner in 2.4.55-2.4.70 = h2_exposed_in_range (affected wording with the backport caveat); h2 enabled + banner >= 2.4.71 = patched_banner (banner-based); h2 enabled + banner suppressed/pre-2.4.55 = h2_exposed_version_unknown (the default for real servers — never clean, verify the installed mod_http2 package); HTTP/1.1 only = not_exposed; non-Apache = not_product.

Results

findings.jsonl: one row per target — verdict (h2_exposed_in_range / h2_exposed_version_unknown / patched_banner / not_exposed / inconclusive / error / not_product), Server header, ALPN result, h2c state, CVSS 9.8 + NVD divergence note, remediation (2.4.71 / vendor packages / standalone mod_h2 2.0.8-2.0.42 has no fix; interim disable h2/h2c in Protocols; distro lag table). summary.jsonl: verdict counts and target lists. Version-unknown rows are never clean.

Overview

This workflow maps Apache HTTP Server hosts that negotiate HTTP/2 on a build in the CVE-2026-119618 range, the mod_http2 race condition that corrupts the heap when two threads touch the same request-header table. Apache calls the outcome potentially remote code execution; the strongest public proof of concept demonstrates memory corruption and crashes, not a proven shell. The Server header is treated with deliberate caution here: distribution backports mean a banner like 2.4.52 often does not equal the mod_http2 module version, so the workflow says so instead of pretending the banner decides. Servers that only speak HTTP/1.1 are not reachable by this bug at all. Each host comes back with an exposure verdict you can feed into exposure management.

Pipeline

  1. Read the target list and send one HTTPS GET per host to read the Server header and Apache markers.
  2. Determine whether HTTP/2 is negotiated from the TLS application-layer protocol negotiation on the HTTPS port.
  3. On cleartext targets, send one well-formed HTTP/2 connection preface to port 80 to detect h2c, on one port only.
  4. Classify: Apache banner in the 2.4.55 through 2.4.70 range with HTTP/2 enabled is exposed in range, HTTP/2 enabled with a hidden or unreadable banner version is exposure with unknown version, and a banner at or above 2.4.71 is a patched banner with the backport caveat.
  5. Reconcile one verdict per target and write findings plus summary counts.

Inputs

  • Target list. Web server addresses you are authorized to test, with an optional explicit port. The default file ships a sample host; bind your own.

Outputs

  • findings.jsonl. One row per host: target, Server header, whether HTTP/2 or h2c was negotiated, the parsed banner version and its range verdict, the overall verdict, severity, and evidence.
  • summary.jsonl. One line with verdict counts and the sorted target lists per verdict.

Integrations

  • HTTPS and HTTP. One GET per host, one ALPN negotiation observation, and at most one HTTP/2 preface on one cleartext port.

Sample output

The records below are illustrative and do not come from a real run. They show an in-range server with HTTP/2 on, one with HTTP/2 on and a suppressed banner, and an HTTP/1.1-only host.

targetserver_headerh2_alpnh2cbanner_rangeverdictdetailerror
https://web-a.example.comApache/2.4.62truenullin_rangeh2_exposed_in_rangeHTTP/2 negotiated on a banner in the affected range; verify the installed mod_http2 packagenull
https://web-b.example.orgApachetruenullunknownh2_exposed_version_unknownHTTP/2 negotiated but banner version hidden; backports make the banner unreliablenull
http://web-c.example.netApache/2.4.41nullfalsebelow_rangenot_exposedHTTP/1.1 only on the tested portsnull
{"cve": "CVE-2026-119618", "product": "Apache HTTP Server mod_http2", "total_targets": 3, "verdict_counts": {"h2_exposed_in_range": 1, "h2_exposed_version_unknown": 1, "not_exposed": 1}, "in_range_targets": ["web-a.example.com"], "version_unknown_targets": ["web-b.example.org"], "not_exposed_targets": ["web-c.example.net"], "patched_banner_targets": [], "error_targets": []}

FAQ

Why is the banner not trusted here?

Distribution packages backport fixes without changing the Server banner, so a host advertising 2.4.52 may run a fixed mod_http2 and a host advertising 2.4.70 may run an affected one. The banner verdict is a prioritization signal; the installed mod_http2 package version on the host is the ground truth.

Does an exposed verdict mean the server can be exploited?

No. Exposed means HTTP/2 is negotiated on a build in the range, which is the reachability precondition for the race. Public research has demonstrated memory corruption and crashes, and Apache says corruption can lead to code execution, but no public proof of full RCE exists. Patch to 2.4.71 and treat exposed hosts as priority.

Is the h2c preface safe to send?

Yes. It is one well-formed HTTP/2 connection preface on one cleartext port, the same bytes a normal client sends to start an HTTP/2 session. If the server does not answer with a HTTP/2 settings frame, the connection closes and nothing else is sent.

What is CVE-2026-119618?

A race condition in mod_http2 header assignment: a worker thread writes into a connection-owned header table through a non-thread-safe allocator, and concurrent access corrupts the heap. Fixed in Apache HTTP Server 2.4.71.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.