← Vulnerability feed

Vulnerability record · CVE-2021-31618 · published 15 June 2021

CVE-2021-31618: Apache HTTP Server mod_http2 NULL pointer dereference DoS

Apache · Http Server

The HTTP/2 protocol handler in Apache HTTP Server fails to fully initialise a rejection response when a request header violates configured size limits, if that header is the first received or appears in a footer. This causes a NULL pointer dereference that reliably crashes the child process. The flaw affected mod_http2 1.15.17 and Apache HTTP Server 2.4.47, which was never released.

7.5 CVSS 3.1 High EPSS 51% · top 1.1% CWE-476 · NULL pointer dereference
7.5CVSS 3.1 base score, v2 5.0
51%EPSS exploitation probability, 30 days
NoNot in CISA KEV
6Affected product versions listed by NVD
26References
17 Jun 2026Last modified by NVD

Description

Apache HTTP Server protocol handler for the HTTP/2 protocol checks received request headers against the size limitations as configured for the server and used for the HTTP/1 protocol as well. On violation of these restrictions and HTTP response is sent to the client with a status code indicating why the request was rejected. This rejection response was not fully initialised in the HTTP/2 protocol handler if the offending header was the very first one received or appeared in a a footer. This led to a NULL pointer dereference on initialised memory, crashing reliably the child process. Since such a triggering HTTP/2 request is easy to craft and submit, this can be exploited to DoS the server. This issue affected mod_http2 1.15.17 and Apache HTTP Server version 2.4.47 only. Apache HTTP Server 2.4.47 was never released.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityRemote, unauthenticated, low-complexity availability impact with a high EPSS score, though the affected release was never shipped and no KEV listing exists.

What it is

The HTTP/2 protocol handler in Apache HTTP Server fails to fully initialise a rejection response when a request header violates configured size limits, if that header is the first received or appears in a footer. This causes a NULL pointer dereference that reliably crashes the child process. The flaw affected mod_http2 1.15.17 and Apache HTTP Server 2.4.47, which was never released.

Impact

An attacker can crash the affected child process, causing a denial of service. There is no confidentiality or integrity impact; only availability is affected.

Attack surface

Reachable remotely over the network via a crafted HTTP/2 request; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The trigger is an oversized or otherwise non-compliant header sent as the first header or within a footer.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented. EPSS is high (0.51489, 98.89th percentile), and the description states the triggering request is easy to craft, but no public exploit code is confirmed in the record.

What to do

  • Upgrade to a fixed Apache HTTP Server release; note that 2.4.47 was never released, so apply the vendor's corrected version or patch.
  • If HTTP/2 is not required, disable mod_http2 or the HTTP/2 protocol to remove the attack path.
  • Apply distribution vendor updates for Debian, Fedora, Gentoo and other listed packages.
  • Monitor for repeated child process crashes and restart loops on HTTP/2-enabled servers.

Detection

  • Alert on Apache child process crashes or segfaults correlated with HTTP/2 traffic.
  • Inspect HTTP/2 request logs for oversized headers sent as the first header or within trailers.
  • Track unexpected httpd process restarts or worker exhaustion on HTTP/2 listeners.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://httpd.apache.org/security/vulnerabilities_24.html Release NotesVendor Advisory
http://www.openwall.com/lists/oss-security/2021/06/10/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/13/2
https://lists.apache.org/thread.html/r14b66ef0f4f569fd515a3f96cd4eb58bd9a8ff525cc326bb0359664f%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r783b6558abf3305b17ea462bed4bd66d82866438999bf38cef6d11d1%40%3Ccvs.httpd.apache.org
https://lists.debian.org/debian-lts-announce/2021/07/msg00006.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NKJ3ZA3FTSZ2QBBPKS6BYG
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A73QJ4HPUMU26I6EULG6SCK
https://seclists.org/oss-sec/2021/q2/206 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/202107-38 Third Party Advisory
https://security.netapp.com/advisory/ntap-20210727-0008/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4937 Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory
http://httpd.apache.org/security/vulnerabilities_24.html Release NotesVendor Advisory
http://www.openwall.com/lists/oss-security/2021/06/10/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/13/2
https://lists.apache.org/thread.html/r14b66ef0f4f569fd515a3f96cd4eb58bd9a8ff525cc326bb0359664f%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r783b6558abf3305b17ea462bed4bd66d82866438999bf38cef6d11d1%40%3Ccvs.httpd.apache.org
https://lists.debian.org/debian-lts-announce/2021/07/msg00006.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NKJ3ZA3FTSZ2QBBPKS6BYG
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A73QJ4HPUMU26I6EULG6SCK
https://seclists.org/oss-sec/2021/q2/206 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/202107-38 Third Party Advisory
https://security.netapp.com/advisory/ntap-20210727-0008/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4937 Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory

Track CVE-2021-31618 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2021-31618), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.