{"id":"CVE-2024-2757","published":"2024-04-29T03:49:15Z","modified":"2025-11-04T17:18:03Z","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01588,"percentile":0.75932,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/11","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0011/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/","tags":[]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":15.19},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 8.3.*, < 8.3.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-29T11:27:03.875027Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-27701","exploited":false,"provenance":"source"}}