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)

EPSS: 0.019 (77.8th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.