CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-2757: PHP mb_encode_mimeheader runs endlessly for some inputs

7.5 CVSS

Description

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.

Classification

CVE ID: CVE-2024-2757

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

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

Affected Products

Vendor: PHP Group

Product: PHP

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 18.39% (scored less or equal to compared to others)

EPSS Date: 2025-03-14 (when was this score calculated)

References

https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq
http://www.openwall.com/lists/oss-security/2024/04/12/11
https://security.netapp.com/advisory/ntap-20240510-0011/

Timeline