Short answer

Apache HTTP Server 2.4.71, released November 11, 2026, fixes CVE-2026-119618, a critical bug in mod_http2 that can let an attacker who never logs in run code on the server. Versions 2.4.55 through 2.4.70 are affected when HTTP/2 is switched on. List every server your iOS app and your business depend on, check which ones offer HTTP/2 and which run Apache, then patch where your distro has a fix or remove h2 from the Protocols line until it does. Your app keeps working over HTTP/1.1.

Apache HTTP Server 2.4.71 came out on November 11, 2026 with a fix for CVE-2026-119618, a critical bug in the HTTP/2 module that can let an attacker who never logs in run code on your server. If your iOS app talks to an API, a webhook receiver, an admin panel or a WordPress marketing site that runs on Apache, you should find out today whether that server is in the affected range and whether it speaks HTTP/2.

This post walks through what the advisory says, how to check each server in a few minutes, how to patch or switch HTTP/2 off when the patch is not in your distro yet, and what your app will notice if you do. There is a small Python script you can point at your own hostnames and a Swift snippet that shows which protocol your app is really using.

What did Apache fix on November 11?

The Apache HTTP Server project lists three CVEs fixed in 2.4.71. The serious one is CVE-2026-119618, rated critical, titled "mod_http2: heap corruption and RCE in assign_headers". The advisory describes it as a synchronization problem in the assign_headers() function of mod_http2 that can lead to remote code execution.

The affected range is Apache HTTP Server 2.4.55 through 2.4.70. The standalone mod_h2 module from GitHub is affected from 2.0.8 through 2.0.42. The fix landed in 2.4.71 the same day it was released.

The other two fixes in the same release are smaller. CVE-2026-106023 (rated important) is a NULL pointer dereference in mod_md that can crash a child process, affecting 2.4.30 through 2.4.70. CVE-2026-109163 (rated low) is a one-byte stack overwrite in mod_vhost_alias affecting 2.4.69 and 2.4.70. If you use mod_md to get Let's Encrypt certificates, that crash fix alone is a reason to upgrade.

Who found it?

Two teams reported the bug separately. The Apache advisory credits Anthropic's OSS Scanner, under the internal ID ANT-2026-MAPKT6MZ, with a report on October 26, and Anthony Weems and Simon Scannell of Google Cloud Vulnerability Research with a report on November 3. The Hacker News describes the OSS Scanner as a free scanning service for open-source projects that uses Anthropic's models.

A core module in one of the most used web servers got a critical bug report from an AI scanner, and a human research team found the same bug a week later. For you as an app developer, the source matters less than the timing: once a fix is public, people who want to attack servers can read the patch commit too.

Is anyone exploiting it yet?

The reports do not agree, so plan for the worse one. Wiz, writing on November 11, said no exploit was available and no exploitation in the wild had been reported at publication. The Hacker News, writing a day later, quotes Red Hat saying that public research has demonstrated a reliable exploit against the default configuration with mod_http2 enabled. Red Hat did not name or link that research in the quote. OpenSSH's sshole Bug Was Attacked Within Hours shows how quickly that can happen once a patch is public.

Red Hat gives it a CVSS score of 9.8 but rates it Important on RHEL 9 and 10, because its packages give each HTTP/2 stream its own memory allocator, which makes an attack much harder. RHEL 6, 7 and 8 are listed as not affected.

Wiz also says 64% of the cloud environments it sees have vulnerable resources and 51% have publicly exposed instances, while noting that its numbers do not account for configuration. So a lot of servers have the code. How many have HTTP/2 switched on is the open question, and that is the part you can answer for your own servers.

Why should an iOS developer care about an Apache bug?

Many apps built quickly, and especially apps built with AI tools, sit on top of a backend that nobody has looked at since launch. A few common setups put Apache in the path:

  • A PHP or Laravel API on a VPS or shared host, where Apache serves the requests your app makes.
  • A WordPress or static marketing site on cPanel hosting. That site holds your privacy policy and support URL, which App Store Connect asks for.
  • A Docker container based on the official httpd image that serves files, a small admin panel or a reverse proxy in front of your API.
  • A webhook receiver for App Store Server Notifications, Stripe or RevenueCat running on the same box as the site.
  • An old server a freelancer set up, where HTTP/2 was switched on for speed and never mentioned again.

If any of those boxes is broken into, the attacker gets what the box can reach. That can mean your database credentials, your App Store Connect API key if it sits in an environment file, push notification keys, and your users' data. Your app keeps working the whole time, which is why this kind of problem is easy to miss.

Step 1: List every server your app touches

Start with a plain list before you run any command. Open your app's source and search for the base URLs it calls. In a Swift project that usually means searching for https:// in your networking layer, your Info.plist and any configuration files for staging and production.

grep -rhoE "https://[a-zA-Z0-9.-]+" --include="*.swift" --include="*.plist" --include="*.xcconfig" . | sort -u

Add the hosts that are not in the app: your marketing site, your privacy policy URL, your webhook URLs from the App Store Connect and payment dashboards, and any admin panel. Write down who hosts each one. You will need that to know whether you can patch it yourself or need to open a ticket with a host.

Step 2: Check from the outside which hosts speak HTTP/2

The bug lives in mod_http2, so the first useful question is whether a host offers HTTP/2 at all. The quickest check uses curl, which ships with macOS:

curl -sI --http2 https://api.example.com -o /dev/null -w "%{http_version}\n"

If it prints 2, the host negotiated HTTP/2 with you. If it prints 1.1, it did not. Then look at the Server header:

curl -sI https://api.example.com | grep -i "^server:"

A header like Server: Apache/2.4.62 (Debian) tells you the upstream version. Many servers hide the version with ServerTokens Prod and only send Server: Apache, and many sit behind Cloudflare or another CDN that replaces the header entirely.

To check a whole list at once, here is a short script. It opens one TLS connection offering h2 and reports what the server picked, then makes a plain HTTP/1.1 HEAD request to read the Server header, and prints a one-line verdict per host.

#!/usr/bin/env python3
"""Check which of your hosts speak HTTP/2 and what Server header they send.

Usage: python3 check_h2.py api.example.com www.example.com:8443
"""
import socket
import ssl
import sys

AFFECTED_MIN = (2, 4, 55)
AFFECTED_MAX = (2, 4, 70)


def parse_version(server_header):
    # "Apache/2.4.62 (Debian)" -> (2, 4, 62); None if no version is shown
    if not server_header or not server_header.lower().startswith("apache/"):
        return None
    raw = server_header.split("/", 1)[1].split()[0]
    parts = raw.split(".")
    try:
        return tuple(int(p) for p in parts[:3])
    except ValueError:
        return None


def check(host, port, timeout=8.0):
    ctx = ssl.create_default_context()
    ctx.set_alpn_protocols(["h2", "http/1.1"])
    with socket.create_connection((host, port), timeout=timeout) as raw:
        with ctx.wrap_socket(raw, server_hostname=host) as tls:
            alpn = tls.selected_alpn_protocol() or "none"
    # Second connection, HTTP/1.1 only, to read the Server header
    ctx11 = ssl.create_default_context()
    ctx11.set_alpn_protocols(["http/1.1"])
    server = ""
    with socket.create_connection((host, port), timeout=timeout) as raw:
        with ctx11.wrap_socket(raw, server_hostname=host) as tls:
            req = f"HEAD / HTTP/1.1\r\nHost: {host}\r\nConnection: close\r\n\r\n"
            tls.sendall(req.encode())
            data = b""
            while b"\r\n\r\n" not in data and len(data) < 65536:
                chunk = tls.recv(4096)
                if not chunk:
                    break
                data += chunk
    for line in data.decode("latin-1").split("\r\n"):
        if line.lower().startswith("server:"):
            server = line.split(":", 1)[1].strip()
    return alpn, server


def verdict(alpn, server):
    version = parse_version(server)
    if alpn != "h2":
        return "HTTP/2 not offered on this port"
    if version is None:
        if server.lower().startswith("apache"):
            return "Apache with HTTP/2, version hidden: check on the box"
        return "HTTP/2 on, not shown as Apache (could be a CDN or proxy in front)"
    if AFFECTED_MIN <= version <= AFFECTED_MAX:
        return "Apache in the affected range with HTTP/2 on: patch or turn h2 off"
    return "Apache version outside 2.4.55-2.4.70"


def main(targets):
    for target in targets:
        host, _, port = target.partition(":")
        port = int(port or 443)
        try:
            alpn, server = check(host, port)
            print(f"{target:40} alpn={alpn:9} server={server or '-':30} {verdict(alpn, server)}")
        except (OSError, ssl.SSLError) as exc:
            print(f"{target:40} error: {exc}")


if __name__ == "__main__":
    if len(sys.argv) < 2:
        sys.exit(__doc__)
    main(sys.argv[1:])

Run it with your hosts as arguments:

python3 check_h2.py api.example.com www.example.com admin.example.com:8443

This script was tested only against local test servers on Linux that imitate the four cases (HTTP/2 with a visible affected version, HTTP/1.1 only, HTTP/2 with a hidden version, and a fixed version), plus a closed port. It has not been run against real Apache servers, so treat its output as a starting point.

Read the verdicts with three limits in mind:

  • The Server header shows the upstream version. Debian, Ubuntu and Red Hat often fix bugs by patching an older version, so a header that says 2.4.62 can belong to a patched package. For those systems, the package version on the box is what counts (Step 3).
  • A CDN in front of your server answers the TLS handshake itself. The script then tells you about the CDN, and your origin server can still have HTTP/2 on. If your origin's IP address accepts connections from the internet directly, test it too.
  • The script only checks HTTP/2 over TLS. Apache can also speak HTTP/2 in cleartext, called h2c, which you will spot in the config in Step 3.

Running the script on a Mac: install the certificates first

The script was also run on macOS 26.0.1, and the first attempt failed for a reason unrelated to Apache. With Python 3.12 from python.org, the version many people install, every host came back with this error:

error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate

The python.org installer does not use the macOS keychain, and it ships without root certificates until you run Install Certificates.command in the /Applications/Python 3.12 folder. Run that once, or point Python at the system bundle for a single run with SSL_CERT_FILE=/etc/ssl/cert.pem python3 check_h2.py .... The Python that comes with the Xcode command line tools, /usr/bin/python3, worked without either step. Without the fix, the script reports an error for every host, which is easy to read as "nothing to worry about".

With certificates in place, it was run against five local TLS test servers, each imitating one setup, plus a port with nothing listening:

localhost:18781 alpn=h2 server=Apache/2.4.62 (Debian) Apache in the affected range with HTTP/2 on: patch or turn h2 off
localhost:18782 alpn=http/1.1 server=Apache/2.4.62 (Debian) HTTP/2 not offered on this port
localhost:18783 alpn=h2 server=Apache Apache with HTTP/2, version hidden: check on the box
localhost:18784 alpn=h2 server=Apache/2.4.71 (Unix) Apache version outside 2.4.55-2.4.70
localhost:18785 alpn=h2 server=nginx HTTP/2 on, not shown as Apache (could be a CDN or proxy in front)
localhost:18789 error: [Errno 61] Connection refused

Each case got the verdict it should, and the closed port produced an error instead of a false "not offered". Pointed at two public sites, www.apple.com and www.wikipedia.org, it reported HTTP/2 with the servers "Apple" and "HAProxy", and put both in the "could be a CDN or proxy" group. That is the right reading, and it is a good example of the second limit below: a front end you do not run hides what is behind it.

Step 3: Check on the server itself

Log in to each Apache box and answer three questions: which version is installed, whether mod_http2 is loaded, and whether HTTP/2 is listed in the Protocols directive.

On Debian and Ubuntu:

apache2 -v
dpkg -l apache2 | tail -1
apache2ctl -M 2>/dev/null | grep -i http2
grep -rni "^\s*Protocols" /etc/apache2/

On RHEL, AlmaLinux, Rocky and Fedora, mod_http2 ships as its own package, so check both:

httpd -v
rpm -q httpd mod_http2
httpd -M 2>/dev/null | grep -i http2
grep -rni "^\s*Protocols" /etc/httpd/

In a Docker container based on the official image:

docker exec <container> httpd -v
docker exec <container> httpd -M | grep -i http2
docker exec <container> grep -ni "Protocols" /usr/local/apache2/conf/httpd.conf

HTTP/2 is only served when mod_http2 is loaded and a Protocols line includes h2 or h2c. The Apache documentation lists the default as Protocols http/1.1, so a server where you never added h2 is likely only speaking HTTP/1.1. Check anyway, because hosting panels, distro defaults and setup guides often add a line like this:

Protocols h2 h2c http/1.1

If you find that line and your version or package is in the affected range, that server is the one to fix first.

Step 4: Patch, if your platform has a fix

Where your system has a fixed package, updating is the real fix. Status on November 12, according to the Debian security tracker and The Hacker News:

  • Upstream Apache: fixed in 2.4.71.
  • RHEL 9: fixed in mod_http2-2.0.26-7.el9_9.1 (RHSA-2026:98981). RHEL 10: fixed in mod_http2-2.0.29-5.el10_3.1 (RHSA-2026:98978). Several EUS streams have their own advisories.
  • Debian unstable (sid): fixed in apache2 2.4.71-1. Debian bookworm, trixie and forky were still listed as vulnerable with no fix on November 12.
  • Amazon Linux 2, 2023 and the 2027 preview: fix pending, per The Hacker News.
  • Ubuntu: no status page at the time The Hacker News checked.
  • Standalone mod_h2 from GitHub: the project is archived and read-only, and its last affected version is 2.0.42, so there is no fixed standalone release. Move to the mod_http2 that ships inside httpd 2.4.71.

On RHEL and its rebuilds:

sudo dnf upgrade --refresh httpd mod_http2
sudo systemctl restart httpd
rpm -q mod_http2

On Debian and Ubuntu, once your release has a fixed package:

sudo apt update
sudo apt install --only-upgrade apache2
sudo systemctl restart apache2

For Docker, check that the image you pull reports 2.4.71 before you rebuild on it, then redeploy every container that uses it:

docker pull httpd:2.4
docker run --rm httpd:2.4 httpd -v

On shared hosting or cPanel, you usually cannot patch Apache yourself. Open a ticket, quote CVE-2026-119618, and ask the host which version they run and whether HTTP/2 is enabled for your account. Save the reply.

Step 5: No fix yet? Turn HTTP/2 off

The Apache advisory offers no workaround. Wiz suggests removing h2 and h2c from the Protocols directive and leaving only http/1.1 until you can patch. That closes the path to the vulnerable code because the module will not handle HTTP/2 connections.

Edit every Protocols line you found in Step 3 so it reads:

Protocols http/1.1

Check virtual host files too, since a Protocols line inside a <VirtualHost> block overrides the global one for that site. On Debian and Ubuntu you can also unload the module entirely:

sudo a2dismod http2
sudo apache2ctl configtest && sudo systemctl reload apache2

On RHEL-family systems, comment out the LoadModule http2_module line, usually in /etc/httpd/conf.modules.d/10-h2.conf, then run sudo apachectl configtest and reload. Run the config test before every reload so a typo does not take the site down.

Then repeat Step 2 from your Mac. The curl check should now print 1.1 and the script should say HTTP/2 is not offered. Write the date of the change in your notes so you remember to put h2 back after the patch arrives.

What will your iOS app notice if you switch HTTP/2 off?

Usually nothing that breaks. URLSession negotiates the protocol during the TLS handshake and falls back to HTTP/1.1 when the server does not offer h2. Requests keep working. The difference is performance: HTTP/1.1 cannot send many requests over one connection at the same time, so an app that fires many small requests at launch may feel a little slower until you turn h2 back on.

You can see what your app actually uses with URLSessionTaskTransactionMetrics.networkProtocolName, available since iOS 10. Apple's documentation says it returns the ALPN protocol ID, such as h2 when HTTP/2 was negotiated and http/1.1 for HTTP/1.1. Add a delegate in a debug build and log it:

import Foundation

final class ProtocolLogger: NSObject, URLSessionTaskDelegate {
    func urlSession(_ session: URLSession,
                    task: URLSessionTask,
                    didFinishCollecting metrics: URLSessionTaskMetrics) {
        for transaction in metrics.transactionMetrics {
            let host = transaction.request.url?.host ?? "?"
            let proto = transaction.networkProtocolName ?? "unknown"
            let reused = transaction.isReusedConnection ? "reused" : "new"
            print("[net] \(host) \(proto) \(reused)")
        }
    }
}

#if DEBUG
let debugSession = URLSession(configuration: .default,
                              delegate: ProtocolLogger(),
                              delegateQueue: nil)
#endif

This snippet type-checks with Xcode 26.2 against the iOS 26.2 simulator SDK in Swift 5 and Swift 6 modes, and the next section shows what it printed when run on a Mac. Run your app's main flows with it before and after the server change. You will see each host flip from h2 to http/1.1, and you get a quick record of every host your app really calls, which is useful for Step 1 next time.

If your app uses a CDN in front of Apache, the app keeps talking HTTP/2 to the CDN even after you turn it off on the origin. That is fine. The CDN to origin connection is a separate one, and it is the origin you are protecting.

What the protocol logger printed

The logger from the previous section was compiled for macOS with Swift 6.2.3 and run against three URLs: two pages on www.apple.com and a local server that only speaks HTTP/1.1. It printed:

[net] www.apple.com h2 new
[net] www.apple.com h2 reused
[net] 127.0.0.1 http/1.1 new

The second request to the same host reused the first connection, which is what HTTP/2 is for. The local server showed http/1.1, which is what you will see from your own API after you remove h2 from the Protocols line. iOS uses the same URL loading system, but run it once in a debug build on a device before you rely on the exact output.

One host the Step 1 search misses

The search in Step 1 was run with the system grep on a sample project with a URL in a Swift file, one in Info.plist and one in an .xcconfig file. It found the first two and missed the third. In .xcconfig files, // starts a comment, so the usual way to write a URL there is https:/$()/staging.example.com, with an empty variable between the slashes. The pattern looks for https:// and never matches it. This extra search finds those and prints them in the normal form:

grep -rhoE 'https:/\$\(\)/[a-zA-Z0-9.-]+' --include="*.xcconfig" . | sed 's|/\$()/|//|' | sort -u

On the sample it printed https://staging.example.com. Staging hosts are the ones most likely to be forgotten, and they often run the same server as production.

Step 6: Assume the worst for exposed servers that were unpatched

If a server was in the affected range, had HTTP/2 on and was reachable from the internet, patching stops new attacks but does not tell you whether someone got in earlier. Given the conflicting reports on exploits, a few cheap checks are worth the time:

  1. Look at the Apache error log for repeated child process crashes (segmentation faults) since late October. A heap corruption bug that is being probed often crashes workers before it works.
  2. List processes and cron jobs running as the Apache user (www-data on Debian and Ubuntu, apache on RHEL) that you do not recognize.
  3. Check for new or changed files in your web root and in /tmp, especially PHP files you did not deploy.
  4. If you find anything odd, rotate the secrets that box could read: database passwords, API keys, the App Store Connect API key, your APNs key and any payment provider keys. Revoke the old ones in each dashboard after the new ones work.

None of that proves a server is clean. It catches the noisy cases. If the box holds real user data and something looks wrong, get help from someone who does incident response for a living. Backdoored Claude Code Extension in Cursor: Check Your Mac, Then Rotate These iOS Keys has a rotation checklist for the keys an iOS team usually holds.

What should you change after this week?

This bug will be patched and forgotten, and the next one will arrive the same way. A few habits make the next one take minutes instead of a day.

Keep a written list of every host your app and your business depend on, with who hosts it and how to update it. The grep in Step 1 and the Swift logger give you most of it. Put the list in your repo next to your release notes.

Turn on automatic security updates where your platform supports them. On Debian and Ubuntu that is the unattended-upgrades package, and on RHEL-family systems it is dnf-automatic. After you set one up, check on the next security update that Apache was really restarted, since a patched package does nothing until the old processes are gone.

Subscribe to the security pages of what you run. For Apache that is the httpd security page listed below, and your distro's security announcements cover the packaged versions.

Hide version numbers once you have the list. ServerTokens Prod and ServerSignature Off stop your server from advertising its exact version. That does not fix anything by itself, and it means you will need the on-box checks from Step 3 next time, which is one more reason to keep the host list.

Put your backend behind something you can update quickly. A managed load balancer or CDN in front of your origin, with the origin firewalled so only that front end can reach it, means a bug like this one affects a server attackers cannot reach directly.

FAQ

My server says Apache 2.4.54 or older. Am I safe from this bug?

The advisory lists 2.4.55 through 2.4.70 as affected, so 2.4.54 and older are outside the range for CVE-2026-119618. Those versions have other known bugs fixed in later releases, so plan an upgrade anyway.

I use Nginx, Caddy or a managed platform. Do I need to do anything?

This CVE is in Apache's mod_http2. If nothing in your stack runs Apache, it does not apply to you. Check that claim with the script in Step 2 and the on-box checks, because some managed platforms and hosting panels run Apache behind the scenes.

Does turning off HTTP/2 break App Store review or my app's networking rules?

App Transport Security requires TLS, not HTTP/2, so an HTTPS server that only speaks HTTP/1.1 still meets it. Your app will keep working, maybe slightly slower if it sends many requests at once.

The Server header shows an affected version but my distro says it is patched. Which is right?

Trust the package version from dpkg -l or rpm -q compared with your distro's advisory. Distros often fix an older version without changing the number Apache reports.

Is a local Apache on my Mac at risk?

Why does the checker say CERTIFICATE_VERIFY_FAILED for every host on my Mac?

Python from python.org ships without root certificates. Run Install Certificates.command in its Applications folder, or set SSL_CERT_FILE=/etc/ssl/cert.pem for one run. The Python in /usr/bin does not need either.

Only if HTTP/2 is turned on and other machines can reach it. Homebrew's httpd formula listed 2.4.69 on November 12, so if you run it with h2 enabled on a network you do not control, turn h2 off or stop the service until the formula updates. Run httpd -v to see which version you have.

Tools for the boring part

Most of this work is small scripts: list hosts, check a header, watch a log. If you want more ready-made Python scripts to adapt for jobs like this, Jerry's Python Automation Scripts Pack: 100 Useful Projects for Freelancers ($9) has 100 small automation projects with source code, README files and tests, including scripts for monitoring websites. It does not include the checker above or anything specific to this CVE; use the script in Step 2 for that.

Sources