Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-31618

HIGH 7.5EPSS 99%

NULL pointer dereference on specially crafted HTTP/2 request

Mitigation

  • Vendor workaround: On unpatched servers, the `h2` protocol can be disabled by removing it from the `Protocols` configuration. If the `h2` protocol is not enabled, the server is not affected by this vulnerability.

Who should check

  • Anyone running Apache Software Foundation Apache HTTP Server 2.4.47

Vulnerability facts

Affected
Apache Software Foundation Apache HTTP Server 2.4.47
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
57.22% chance of exploitation in 30 days (percentile 99, 2026-11-26)
CWE
CWE-476
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Apache Software Foundation Apache HTTP Server2.4.47—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-31618. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-31618.md
Affected: Apache Software Foundation Apache HTTP Server 2.4.47
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache HTTP Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-31618 being exploited?

There is no confirmed exploitation: CVE-2021-31618 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 57.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-31618?

High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2021-31618?

Apache Software Foundation Apache HTTP Server 2.4.47.

Is there a fix for CVE-2021-31618?

No fixed version is listed in the sources yet. Vendor workaround: On unpatched servers, the `h2` protocol can be disabled by removing it from the `Protocols` configuration. If the `h2` protocol is not enabled, the server is not affected by this vulnerability.

How do I check if I'm affected by CVE-2021-31618?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors