{"id":"CVE-2024-2757","details":"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.","aliases":["BIT-libphp-2024-2757","BIT-php-2024-2757","BIT-php-min-2024-2757"],"modified":"2026-03-14T12:30:41.707610Z","published":"2024-04-29T04:15:08.113Z","related":["GHSA-fjp9-9hwx-59fq","openSUSE-SU-2024:13867-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240510-0011/"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2024/04/12/11"},{"type":"EVIDENCE","url":"https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"9a9c7197c4774c80f622222b3dfa874e6dc44f67"}],"database_specific":{"versions":[{"introduced":"8.3.0"},{"fixed":"8.3.5"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2757.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}