CVE-2024-2757
published 2024-04-29CVE-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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.92%
78.6th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | php7.4 | — | — |
| debian | php8.2 | — | — |
| msrc | azl3_php_8.3.4-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_php_8.3.6-1_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| php | php | >= 8.3.0 < 8.3.5 | 8.3.5 |
| php_group | php | >= 8.3.* < 8.3.5 | 8.3.5 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5LOW
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
php: mb_encode_mimeheader runs endlessly for some inputs
vendor_redhat·2024-04-12·CVSS 7.5
CVE-2024-2757 [HIGH] CWE-835 php: mb_encode_mimeheader runs endlessly for some inputs
php: mb_encode_mimeheader runs endlessly for some inputs
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.
An infinite loop vulnerability was found in PHP. Certain inputs provided to mb_encode_mimeheader trigger an endless loop.
Statement: Red Hat Enterprise Linux remains unaffected by this vulnerability since it does not include the vulnerable codebase or version. This CVE only affects PHP 8.3 that we did not ship.
The vulnerability in mb_encode_mimeheader presents a moderate severity issue due to its potential for causing service disruption and resource exhaustion
Microsoft
PHP mb_encode_mimeheader runs endlessly for some inputs
vendor_msrc·2024-04-09·CVSS 7.5
CVE-2024-2757 [HIGH] CWE-400 PHP mb_encode_mimeheader runs endlessly for some inputs
PHP mb_encode_mimeheader runs endlessly for some inputs
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
php: php
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.mic
Debian
CVE-2024-2757: php7.4 - In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for so...
vendor_debian·2024·CVSS 7.5
CVE-2024-2757 [HIGH] CVE-2024-2757: php7.4 - In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for so...
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.
Scope: local
bullseye: resolved
OSV
CVE-2024-2757: In PHP 8
osv·2024-04-29·CVSS 7.5
CVE-2024-2757 [HIGH] CVE-2024-2757: In PHP 8
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2024/04/12/11https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fqhttps://security.netapp.com/advisory/ntap-20240510-0011/http://www.openwall.com/lists/oss-security/2024/04/12/11https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fqhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/https://security.netapp.com/advisory/ntap-20240510-0011/
2024-04-29
Published