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

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.

Published: 2024-07-18 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-40725 is rated Moderate Risk (47.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 4.13%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-40725

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 25.10% 4.13% -20.96%
2 2026-04-03 26.57% 25.10% -1.47%
3 2025-12-30 26.57%

Full EPSS history (37 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-40725

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 1.4 [email protected]
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 1.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-40725

OS Trackers for CVE-2024-40725

vendor priority summary link
alpine CVE-2024-40725: 1 source package rows (apache2); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2024-40725
debian not yet assigned CVE-2024-40725 not yet assigned priority: Debian including 1 source packages (apache2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-40725
gentoo low CVE-2024-40725: 1 GLSA(s) (202409-31), 1 atom(s) (www-servers/apache); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-40725
redhat high https://access.redhat.com/security/cve/CVE-2024-40725
suse high CVE-2024-40725 severity important: SUSE including 292 source package names (2.8:apache2-utils-2.4.58-150600.5.26.1, 4.3.13.9.57.54:apache2-2.4.51-150400.6.37.1, …), 494 product×package rows across 69 product lines (Container bci/php-apache, Container suse/manager/4.3/proxy-httpd, … (69 product lines)): Fixed 262, Known Affected 231, Known Not Affected 1. https://www.suse.com/security/cve/CVE-2024-40725/
ubuntu medium CVE-2024-40725 medium priority: Ubuntu including 1 source packages (apache2), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): released 7, needs-triage 3. https://ubuntu.com/security/CVE-2024-40725

Affected software / configurations for CVE-2024-40725

Vendor Product Version Raw CPE
apache http_server 2.4.60 cpe:2.3:a:apache:http_server:2.4.60:*:*:*:*:*:*:*
apache http_server 2.4.61 cpe:2.3:a:apache:http_server:2.4.61:*:*:*:*:*:*:*

References for CVE-2024-40725

cvelogic Threat Intelligence