---
title: "Apache mod_http2 Exposure (CVE-2026-119618)"
canonical: https://trickest.com/library/apache-mod-http2-exposure-check-cve-2026-119618
description: "Find Apache servers negotiating HTTP/2 on builds in the CVE-2026-119618 range, with banner caveats stated plainly, plus an h2c cleartext check."
---

# Apache mod_http2 Exposure (CVE-2026-119618)

## 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](/use-cases/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.

```jsonl
{"target": "https://web-a.example.com", "server_header": "Apache/2.4.62", "h2_alpn": true, "h2c": null, "banner_range": "in_range", "verdict": "h2_exposed_in_range", "detail": "HTTP/2 negotiated on a banner in the affected range; verify the installed mod_http2 package", "error": null}
{"target": "https://web-b.example.org", "server_header": "Apache", "h2_alpn": true, "h2c": null, "banner_range": "unknown", "verdict": "h2_exposed_version_unknown", "detail": "HTTP/2 negotiated but banner version hidden; backports make the banner unreliable", "error": null}
{"target": "http://web-c.example.net", "server_header": "Apache/2.4.41", "h2_alpn": null, "h2c": false, "banner_range": "below_range", "verdict": "not_exposed", "detail": "HTTP/1.1 only on the tested ports", "error": null}
```

```json
{"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.

## Related workflows

- [Tomcat PUT JSP RCE (CVE-2017-12617)](/library/cve-2017-12617-tomcat-put-jsp-rce). Reach for it when the next web server version screen is Tomcat instead of Apache.
- [Tomcat Ghostcat AJP (CVE-2020-1938)](/library/cve-2020-1938-tomcat-ghostcat-ajp). Reach for it when the next flagged Apache-adjacent port is AJP, not HTTP/2.
- [Full Network Port and Service Assessment](/library/full-network-port-and-service-assessment). Map which hosts negotiate HTTP/2 across the estate first, instead of checking one server at a time.

---
_Markdown source of https://trickest.com/library/apache-mod-http2-exposure-check-cve-2026-119618._
