### [CVE-2024-2757](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2757) ![](https://img.shields.io/static/v1?label=Product&message=PHP&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=8.3.*%3C%208.3.5%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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.  ### POC #### Reference - http://www.openwall.com/lists/oss-security/2024/04/12/11 - https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq #### Github - https://github.com/fkie-cad/nvd-json-data-feeds