# CVE-2024-40725: Apache HTTP Server: source code disclosure with handlers configured via AddType

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-18 · Modified: 2025-03-14
- Aliases: ALPINE-CVE-2024-40725, SUSE-SU-2024:3742-1, SUSE-SU-2024:3750-1, SUSE-SU-2024:3864-1, UBUNTU-CVE-2024-40725, USN-6902-1, DEBIAN-CVE-2024-40725
- Record: https://cvemate.com/vulnerability/CVE-2024-40725 · JSON: https://cvemate.com/vulnerability/CVE-2024-40725/json

## Description

```text
A partial fix for  CVE-2024-39884 in the core of Apache HTTP Server 2.4.61 ignores some use of the legacy content-type based configuration of handlers. "AddType" and similar configuration, under some circumstances where files are requested indirectly, result in source code disclosure of local content. For example, PHP scripts may be served instead of interpreted.

Users are recommended to upgrade to version 2.4.62, which fixes this issue.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 4.417%, percentile 91.61%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 36)

- apache software foundation apache http server: ≥ 2.4.60, ≤ 2.4.61
- apache http\_server: 2.4.60 \| 2.4.61
- alpine apache2 (Alpine Linux): \< 2.4.62-r0
- debian apache2 (Debian): \< 2.4.62-1~deb12u1 \| \< 2.4.62-1
- ubuntu apache2 (Ubuntu): All versions (No fix recorded) \| \< 2.4.41-4ubuntu3.21 \| \< 2.4.52-1ubuntu4.12 \| \< 2.4.58-1ubuntu8.4
- opensuse apache2-devel&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- opensuse apache2-event&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- opensuse apache2-manual&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- opensuse apache2-prefork&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- opensuse apache2-utils&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- opensuse apache2-worker&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- opensuse apache2&distro=openSUSE Leap 15.5 (openSUSE): \< 2.4.51-150400.6.37.1
- opensuse apache2&distro=openSUSE Leap 15.6 (openSUSE): \< 2.4.58-150600.5.26.1
- suse apache2-devel&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6 (SUSE Linux Enterprise): \< 2.4.58-150600.5.26.1
- suse apache2-event&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6 (SUSE Linux Enterprise): \< 2.4.58-150600.5.26.1
- suse apache2-prefork&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6 (SUSE Linux Enterprise): \< 2.4.58-150600.5.26.1
- suse apache2-tls13&distro=SUSE Linux Enterprise Server 12 SP5-LTSS (SUSE Linux Enterprise): \< 2.4.51-35.63.1
- suse apache2-tls13&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5 (SUSE Linux Enterprise): \< 2.4.51-35.63.1
- suse apache2-tls13&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 2.4.51-35.63.1
- suse apache2-utils&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6 (SUSE Linux Enterprise): \< 2.4.58-150600.5.26.1

## References

- <https://httpd.apache.org/security/vulnerabilities_24.html>
- <https://security.netapp.com/advisory/ntap-20240808-0007/>
- <https://security.alpinelinux.org/vuln/CVE-2024-40725>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243742-1/>
- <https://bugzilla.suse.com/1228097>
- <https://www.suse.com/security/cve/CVE-2024-40725>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243750-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243864-1/>
- <https://ubuntu.com/security/CVE-2024-40725>
- <https://www.cve.org/CVERecord?id=CVE-2024-40725>
- <https://ubuntu.com/security/notices/USN-6902-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-40725>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-40725>

---

Data as of 2026-12-05T04:44:14.202Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
