CVE-2021-31618: HTTP/2 NULL-pointer dereference in Apache HTTP Server mod_http2
- Vendors
- Apache Software FoundationDebian ProjectOracle CorporationFedora Project
CVE-2021-31618 is a NULL-pointer dereference vulnerability in Apache HTTP Server's mod_http2 HTTP/2 protocol handler. When a request header exceeds configured header-size limits, the handler generates a rejection response. That response is incompletely initialized if the offending header is the first received header or appears in a footer (trailer), causing a NULL-pointer dereference that reliably crashes the child process. Crafted HTTP/2 requests can therefore cause denial of service. The upstream affected versions are mod_http2 1.15.17 and Apache HTTP Server 2.4.47; Apache HTTP Server 2.4.47 was never released. Vendor packages have separate security updates.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A crafted HTTP/2 request can reliably crash an Apache HTTP Server child process, resulting in denial of service. The vulnerability-specific information does not establish code execution or confidentiality or integrity impacts.
Mitigation
If you can’t patch tonight, do this now.
No upstream alternative workaround is specified. Where patching cannot be performed immediately, disable HTTP/2/mod_http2 or prevent untrusted clients from reaching HTTP/2-enabled virtual hosts, where operationally feasible. Rate-limit and filter abusive HTTP/2 traffic at a reverse proxy or network edge as a temporary availability measure.
Remediation
Patch, then assume compromise.
Upgrade upstream Apache HTTP Server to version 2.4.48 or a later fixed release, or apply the upstream mod_http2 fix. For Debian 10, install apache2 2.4.38-3+deb10u5 or a later security-updated package; for Debian 9, the fix was included in 2.4.25-3+deb9u10. For Red Hat JBoss Core Services Apache HTTP Server 2.4.37, install Service Pack 8 through the applicable vendor update. Restart affected services after updating; the Red Hat package update automatically restarts httpd, but other applications using APR libraries also require restarting.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-31618 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-31618 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-31618?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-31618.
- Is there a patch for CVE-2021-31618?
- Upgrade upstream Apache HTTP Server to version 2.4.48 or a later fixed release, or apply the upstream mod_http2 fix. For Debian 10, install apache2 2.4.38-3+deb10u5 or a later security-updated package; for Debian 9, the fix was included in 2.4.25-3+deb9u10.
- What products are affected by CVE-2021-31618?
- Apache Software Foundation Apache HTTP Server, Debian Project Debian Linux, Oracle Corporation Enterprise Manager Ops Center, Fedora Project Fedora, Oracle Corporation Instantis Enterprisetrack, and 1 more.
- How severe is CVE-2021-31618?
- CVE-2021-31618 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 52.1% (99th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.