Resource exhaustion in PHP
CVE-2024-2757
In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space. This could lead to a potential DoS attack if a hostile user sends data to an application that uses this function.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.019 (79.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq (Exploit, Vendor Advisory)
- www.openwall.com/lists/oss-security/2024/04/12/11 (Mailing List)
- security.netapp.com/advisory/ntap-20240510-0011/ (Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-2757?
- CVE-2024-2757 is a high-severity vulnerability in PHP, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2024-04-29.
- How severe is CVE-2024-2757?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-2757 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.