CVE & CISA-KEV Catalog

CVE-2024-40725

MEDIUMEPSS 90th pctl
5.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
httpdAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-coreAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-core-debuginfoAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-debuginfoAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-debugsourceAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-develAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-filesystemAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
httpd-manualAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
httpd-toolsAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
httpd-tools-debuginfoAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_ldapAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_ldap-debuginfoAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_luaAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_lua-debuginfoAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_mdAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
mod_proxy_htmlAmazon
Fixed in:1:2.4.62-1.amzn2.0.1
Fixed in:1:2.4.62-1.amzn2.0.1
Fixed in:1:2.4.62-1.amzn2.0.1
Fixed in:1:2.4.62-1.amzn2023
Fixed in:1:2.4.62-1.amzn2023
mod_proxy_html-debuginfoAmazon
Fixed in:1:2.4.62-1.amzn2023
Fixed in:1:2.4.62-1.amzn2023
mod_sessionAmazon
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2.0.1
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_session-debuginfoAmazon
Fixed in:0:2.4.62-1.amzn2023
Fixed in:0:2.4.62-1.amzn2023
mod_sslAmazon
Fixed in:1:2.4.62-1.amzn2.0.1
Fixed in:1:2.4.62-1.amzn2.0.1
Fixed in:1:2.4.62-1.amzn2.0.1
Fixed in:1:2.4.62-1.amzn2023
Fixed in:1:2.4.62-1.amzn2023
mod_ssl-debuginfoAmazon
Fixed in:1:2.4.62-1.amzn2023
Fixed in:1:2.4.62-1.amzn2023
apache2Debian
Fixed in:2.4.62-1~deb12u1CVE-2024-40725
Fixed in:2.4.62-1CVE-2024-40725
Fixed in:2.4.62-1CVE-2024-40725
apache2Ubuntu
Fixed in:2.4.41-4ubuntu3.21USN-6902-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:2.4.52-1ubuntu4.12USN-6902-1
Fixed in:2.4.58-1ubuntu8.4USN-6902-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

4.17%probability of exploitation in 30 days
90thpercentile

High risk: more likely to be exploited than 90% of all known CVEs.

References

Vendor Advisory1
Other references1

Related Vulnerabilities

Other CWE-668 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-39952Critical9.8100%-Fix
CVE-2017-16597Critical9.857%--
CVE-2017-16603High8.854%--
CVE-2024-25153Critical9.842%-Fix
CVE-2022-25236Critical9.836%-Fix
CVE-2017-0215Medium5.336%--

Common questions

How do I fix CVE-2024-40725?

Published advisories record a fix for 23 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-40725 being actively exploited?

Not that we know of. CVE-2024-40725 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 4.2% is the estimated probability that it will be exploited in the next 30 days. That is higher than 90% of all scored CVEs.

How severe is CVE-2024-40725?

CVE-2024-40725 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-40725 affect?

Published advisories record a fix for httpd (Amazon), httpd-core (Amazon), httpd-core-debuginfo (Amazon), httpd-debuginfo (Amazon), and 19 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-40725
CVE-2024-40725 severity badge

Markdown

[![CVE-2024-40725](https://tridentstack.com/cve/badge/CVE-2024-40725.svg)](https://tridentstack.com/cve/CVE-2024-40725)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-40725"><img src="https://tridentstack.com/cve/badge/CVE-2024-40725.svg" alt="CVE-2024-40725"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.