First published: Thu Apr 11 2024(Updated: )
Fixed bug GHSA-fjp9-9hwx-59fq (mb_encode_mimeheader runs endlessly for some inputs). (CVE-2024-2757)
Credit: security@php.net
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | <8.3.6 | 8.3.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-2757 has been classified as a moderate severity vulnerability due to its potential to cause an infinite loop in the mb_encode_mimeheader function.
To fix CVE-2024-2757, upgrade PHP to version 8.3.6 or later.
CVE-2024-2757 affects PHP versions prior to 8.3.5.
The bug in CVE-2024-2757 causes the mb_encode_mimeheader function to run endlessly when it encounters certain long strings.
Currently, it is recommended to avoid using inputs that have long strings of non-space characters followed by a space as a temporary workaround for CVE-2024-2757.