Home / Apache Software Foundation / Apache HTTP Server / CVE-2024-38475
CVE-2024-38475: is it exploited, and which versions of Apache Software Foundation Apache HTTP Server are affected and fixed?
CVE-2024-38475 is an improper output encoding vulnerability in Apache Software Foundation Apache HTTP Server, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 1, 2025, with a federal due date of May 22, 2025. Affected: Apache HTTP Server from 2.4.0 through 2.4.59 (CVE record by apache). Fixed in 2.4.60 and 10.2.1.14-75sv (NVD). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-38475?
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
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. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected. Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.
From the CVE record by apache, last updated November 3, 2025, 21:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache HTTP Server | from 2.4.0 through 2.4.59 |
As the CVE record by apache states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | http server | from 2.4.0 before 2.4.60 | application |
| netapp | ontap 9 | all versions | application |
| sonicwall | sma 200 firmware | before 10.2.1.14-75sv | operating system |
| sonicwall | sma 210 firmware | before 10.2.1.14-75sv | operating system |
| sonicwall | sma 400 firmware | before 10.2.1.14-75sv | operating system |
| sonicwall | sma 410 firmware | before 10.2.1.14-75sv | operating system |
| sonicwall | sma 500v firmware | before 10.2.1.14-75sv | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:40 UTC.
How severe is CVE-2024-38475?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-38475 exploited in the wild?
- CISA KEV
- Listed as Apache HTTP Server Improper Escaping of Output Vulnerability, added May 1, 2025; federal agencies must act by May 22, 2025
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Ransomware use
- Unknown
- CISA's summary
- Apache HTTP Server contains an improper escaping of output vulnerability in mod_rewrite that 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.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, May 2, 2025)
- EPSS
- 100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-116 Improper Encoding or Escaping of Output
Where are the vendor advisories and references?
- https://httpd.apache.org/security/vulnerabilities_24.html vendor-advisory
- https://security.netapp.com/advisory/ntap-20240712-0001/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475 government-resource
- https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227
- https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- http://www.openwall.com/lists/oss-security/2024/07/01/8
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
Who found and reported it?
- Orange Tsai (@orange_8361) from DEVCORE (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 17, 2024
- Published
- July 1, 2024, 18:15 UTC
- CVE record updated
- November 3, 2025, 21:55 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 07:40 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache HTTP Server?
- Oct 7, 2021CVE-2021-42013 Apache Software Foundation Apache HTTP Server: path traversal (reading or writing files outside the intended folder) exploited
- Oct 5, 2021CVE-2021-41773 Apache Software Foundation Apache HTTP Server: path traversal (reading or writing files outside the intended folder) exploited
- Sep 16, 2021CVE-2021-40438 Apache Software Foundation Apache HTTP Server: server-side request forgery (SSRF) exploited
- Nov 11, 2026CVE-2026-106023 Apache Software Foundation Apache HTTP Server: NULL pointer dereference (crash)
- Nov 11, 2026CVE-2026-109163 Apache Software Foundation Apache HTTP Server: stack buffer overflow
- Nov 11, 2026CVE-2026-119618 Apache Software Foundation Apache HTTP Server: race condition
- Oct 1, 2026CVE-2026-63686 Apache Software Foundation Apache HTTP Server: NULL pointer dereference (crash)
- Oct 1, 2026CVE-2026-93546 Apache Software Foundation Apache HTTP Server: integer overflow
Every CVE in Apache HTTP Server
Questions about CVE-2024-38475
Is CVE-2024-38475 exploited in the wild?
Yes. CISA added CVE-2024-38475 to its Known Exploited Vulnerabilities catalog on May 1, 2025 and set federal agencies a due date of May 22, 2025. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache HTTP Server are affected by CVE-2024-38475?
Apache HTTP Server from 2.4.0 through 2.4.59, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2024-38475?
2.4.60 and 10.2.1.14-75sv, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-38475?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-38475?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.