VulnarioBlogApache HTTP Server vulnerabilities

Apache HTTP Server Vulnerabilities: The 10 Most Critical Apache HTTP Server Security Bugs (CVEs)

Apache HTTP Server vulnerabilities are security flaws in Apache HTTP Server that attackers can abuse to steal data, take over a server or interrupt a service. Apache HTTP Server is one of the most widely deployed open-source web servers. The National Vulnerability Database (NVD) lists 350 CVEs for Apache HTTP Server, 33 of them rated critical, and 49 were published in the last 12 months. CISA lists 5 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical Apache HTTP Server security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Apache HTTP Server security basics, the current end-of-life dates and a free way to be told about the next Apache HTTP Server CVE as soon as it is published.

Key takeaways

  • 5 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
  • 33 Apache HTTP Server CVEs are rated critical (CVSS v3), and 49 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-56154, published Oct 1, 2026.
  • Supported Apache HTTP Server releases today (per endoflife.date): 2.4. Releases not on the list are past their announced end of life.
  • You can monitor Apache HTTP Server for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Apache HTTP Server CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Apache HTTP Server CVEs at a glance

Most critical Apache HTTP Server vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2021-420139.8 Critical2021-10-07Apache HTTP Server Path TraversalYes (ransomware use known)
2CVE-2021-417739.8 Critical2021-10-05Apache HTTP Server Path TraversalYes (ransomware use known)
3CVE-2024-384759.1 Critical2024-07-01Apache HTTP Server Improper Escaping of OutputYes
4CVE-2021-404389.0 Critical2021-09-16Apache HTTP Server-Side Request Forgery (SSRF)Yes (ransomware use known)
5CVE-2019-02117.8 High2019-04-08Apache HTTP Server Privilege EscalationYes
6CVE-2026-561549.8 Critical2026-10-01Use after freeNo
7CVE-2026-579419.8 Critical2026-10-01Use after freeNo
8CVE-2026-597979.8 Critical2026-10-01Improper privilege managementNo
9CVE-2026-291679.8 Critical2026-06-08Use after freeNo
10CVE-2026-446319.8 Critical2026-06-08Critical security flawNo

Each Apache HTTP Server CVE explained

1. CVE-2021-42013: Apache HTTP Server Path Traversal

  • CVSS 9.8 Critical
  • In CISA KEV (added 2021-11-03)
  • Published 2021-10-07
  • CWE-22
What NVD says
It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.49; 2.4.50
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2021-42013 (opens in a new tab)

2. CVE-2021-41773: Apache HTTP Server Path Traversal

  • CVSS 9.8 Critical
  • In CISA KEV (added 2021-11-03)
  • Published 2021-10-05
  • CWE-22
What NVD says
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.49
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2021-41773 (opens in a new tab)

3. CVE-2024-38475: Apache HTTP Server Improper Escaping of Output

  • CVSS 9.1 Critical
  • In CISA KEV (added 2025-05-01)
  • Published 2024-07-01
  • CWE-116
What NVD says
Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
2.4.0 to before 2.4.60
What to do
Upgrade to 2.4.60 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-38475 (opens in a new tab)

4. CVE-2021-40438: Apache HTTP Server-Side Request Forgery (SSRF)

  • CVSS 9.0 Critical
  • In CISA KEV (added 2021-12-01)
  • Published 2021-09-16
  • CWE-918
What NVD says
A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
up to and including 2.4.48
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2021-40438 (opens in a new tab)

5. CVE-2019-0211: Apache HTTP Server Privilege Escalation

  • CVSS 7.8 High
  • In CISA KEV (added 2021-11-03)
  • Published 2019-04-08
  • CWE-416
What NVD says
In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes or threads (including scripts executed by an in-process scripting interpreter) could execute arbitrary code with the privileges of the parent process (usually root) by manipulating the scoreboard. Non-Unix systems are not affected.
How it can be attacked
Can be exploited locally on the machine with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.17 through 2.4.38
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2019-0211 (opens in a new tab)

6. CVE-2026-56154: Use after free

  • CVSS 9.8 Critical
  • Published 2026-10-01
  • CWE-416
What NVD says
Use After Free vulnerability in Apache HTTP Server's mod_rewrite when using lookahead (%{LA-U:HTTP:...}) This issue affects Apache HTTP Server: from 2.4.0 through 2.4.68.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.0 to before 2.4.69
What to do
Upgrade to 2.4.69 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-56154 (opens in a new tab)

7. CVE-2026-57941: Use after free

  • CVSS 9.8 Critical
  • Published 2026-10-01
  • CWE-416
What NVD says
Use After Free vulnerability in Apache HTTP Server's mod_http2 via shared session->bbtmp re-entrancy This issue affects Apache HTTP Server: from 2.4.0 through 2.4.68.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.0 to before 2.4.69
What to do
Upgrade to 2.4.69 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-57941 (opens in a new tab)

8. CVE-2026-59797: Improper privilege management

  • CVSS 9.8 Critical
  • Published 2026-10-01
  • CWE-269
What NVD says
Improper Privilege Management vulnerability in Apache HTTP Server's mod_ssl via SSLRequire and file-related expressions. This issue affects Apache HTTP Server: from 2.4.0 through 2.4.68.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.0 to before 2.4.69
What to do
Upgrade to 2.4.69 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-59797 (opens in a new tab)

9. CVE-2026-29167: Use after free

  • CVSS 9.8 Critical
  • Published 2026-06-08
  • CWE-416
What NVD says
Use After Free vulnerability in Apache HTTP Server with mod_ldap in per-directory configuration This issue affects Apache HTTP Server: from 2.4.0 through 2.4.67. Users are recommended to upgrade to version 2.4.68, which fixes the issue.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.0 to before 2.4.68
What to do
Upgrade to 2.4.68 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-29167 (opens in a new tab)

10. CVE-2026-44631: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-06-08
  • CWE-124
What NVD says
Buffer Underwrite vulnerability in Apache HTTP Server on crafted regular expressions in the configuration. This issue affects Apache HTTP Server: from 2.4.0 through 2.4.67. Users are recommended to upgrade to version 2.4.68, which fixes the issue.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.4.0 to before 2.4.68
What to do
Upgrade to 2.4.68 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-44631 (opens in a new tab)

Apache HTTP Server end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Apache HTTP Server vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Apache HTTP Server releases are 2.4.

Apache HTTP Server release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Apache HTTP Server 2.4Feb 21, 2012Not announced2.4.69Supported
Apache HTTP Server 2.2Dec 1, 2005Jul 11, 20172.2.34End of life
Apache HTTP Server 2.0Apr 5, 2002Jul 10, 20132.0.65End of life
Apache HTTP Server 1.3Jun 1, 1998Feb 3, 20101.3.42End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your Apache HTTP Server is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

apachectl -v

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

Apache HTTP Server security checklist

  1. Apply security releases quickly: web servers sit on the internet and are scanned constantly.
  2. Hide version banners and default pages so scanners learn less about you.
  3. Allow only modern TLS (1.2 and 1.3) and renew certificates automatically.
  4. Run worker processes as an unprivileged user and keep sites in separate accounts or pools.
  5. Set sensible request size and timeout limits, and add rate limiting or a web application firewall.
  6. Block access to configuration files, backups and version-control folders.

Where you run Apache HTTP Server matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Apache HTTP Server: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Apache HTTP Server. A flaw anywhere in the chain can be the way in, so also review our guides to Nginx vulnerabilities, PHP vulnerabilities and ModSecurity vulnerabilities.

How to get alerted about new Apache HTTP Server vulnerabilities

NVD received 49 new Apache HTTP Server CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Apache HTTP Server and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Apache HTTP Server alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Apache HTTP Server vulnerabilities

What are the most critical Apache HTTP Server vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Apache HTTP Server CVEs include CVE-2021-42013 (CVSS 9.8), CVE-2021-41773 (CVSS 9.8), CVE-2024-38475 (CVSS 9.1). The guide above ranks the 10 most critical with affected versions and fixes.

Have Apache HTTP Server vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 5 Apache HTTP Server CVEs, including CVE-2021-42013, CVE-2021-41773, CVE-2024-38475. Treat these as the highest priority to patch.

How many vulnerabilities does Apache HTTP Server have?

As of Nov 3, 2026 the National Vulnerability Database lists 350 CVEs for Apache HTTP Server, with 33 rated critical by CVSS v3. 49 were published in the previous twelve months.

Which Apache HTTP Server versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Apache HTTP Server releases as supported: 2.4. Releases that are not listed are past their announced end of life.

How do I check which Apache HTTP Server version I run?

Run apachectl -v on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new Apache HTTP Server CVE is published?

Add Apache HTTP Server to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Apache HTTP Server and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Apache HTTP Server secure?

Apache HTTP Server is as secure as its patch level. NVD published 49 new Apache HTTP Server CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2021-42013?

CVE-2021-42013 is a critical Apache HTTP Server vulnerability with a CVSS score of 9.8, published Oct 7, 2021. It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.