7.5high
PHP mb_encode_mimeheader runs endlessly for some inputs
- Severity
- 7.5high CVSS:3.1 by php
- Exploit likelihood
- 1.92% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- php
- Also known as
- BIT-LIBPHP-2024-2757BIT-PHP-2024-2757BIT-PHP-MIN-2024-2757GHSA-fjp9-9hwx-59fq
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PHP Group PHP | from 8.3.* before 8.3.5 | CVE List |
| php_group php | 8.3 | CVE List |
| php php | from 8.3.0 before 8.3.5 | NVD |
| libphp (Bitnami) | from 8.3.0 before 8.3.5 | Bitnami Vulnerability Database |
| php (Bitnami) | from 8.3.0 before 8.3.5 | Bitnami Vulnerability Database |
| php-min (Bitnami) | from 8.3.0 before 8.3.5 | Bitnami Vulnerability Database |
All scores
| php | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En PHP 8.3.* anterior a 8.3.5, la función mb_encode_mimeheader() se ejecuta sin cesar para algunas entradas que contienen cadenas largas de caracteres que no son espacios seguidos de un espacio. Esto podría provocar un posible ataque DoS si un usuario hostil envía datos a una aplicación que utiliza esta función.
References
| https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq | advisory, exploit, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2024/04/12/11 | discussion, mailing-list | |
| https://security.netapp.com/advisory/ntap-20240510-0011/ | advisory, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-2757 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2757 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2024-2757 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPHP-2024-2757 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-2024-2757 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-MIN-2024-2757 changed 2026-09-08 | Apache-2.0 |