{"id":"CVE-2024-2757","aliases":["ALPINE-CVE-2024-2757","AZL-40055","BELL-CVE-2024-2757","BIT-libphp-2024-2757","BIT-php-2024-2757","BIT-php-min-2024-2757","EUVD-2024-27701","GHSA-fjp9-9hwx-59fq","UBUNTU-CVE-2024-2757","openSUSE-SU-2024:13867-1"],"status":"published","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01924,"percentile":0.80214,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2024-04-12T14:57:02.452686Z","modified":"2026-11-03T06:32:49Z","fixes":[{"ecosystem":"Alpine:v3.19","package":"php83","fixed_in":["8.3.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"php83","fixed_in":["8.3.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"php83","fixed_in":["8.3.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"php83","fixed_in":["8.3.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"php83","fixed_in":["8.3.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"php83","fixed_in":["8.3.5-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"php","fixed_in":["8.3.6-1"],"sources":["osv"]},{"ecosystem":"Alpaquita:stream","package":"php83","fixed_in":["8.3.6-r0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"libphp","fixed_in":["8.3.5"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"php","fixed_in":["8.3.5"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"php-min","fixed_in":["8.3.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"php8.3","fixed_in":["8.3.6-0maysync1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.19","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.5-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"php","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.6-1"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"php83","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.3.4-r2"},{"fixed":"8.3.6-r0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"libphp","ranges":[{"type":"SEMVER","events":[{"introduced":"8.3.0"},{"fixed":"8.3.5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"php","ranges":[{"type":"SEMVER","events":[{"introduced":"8.3.0"},{"fixed":"8.3.5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"php-min","ranges":[{"type":"SEMVER","events":[{"introduced":"8.3.0"},{"fixed":"8.3.5"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"php8.3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.6-0maysync1"}]}],"versions":["8.3.0-1","8.3.0-1ubuntu1","8.3.4-1","8.3.4-1build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"php8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.6-1.1"}]}],"bundled":4}],"products":[{"vendor":"php","product":"php"},{"vendor":"php group","product":"php"},{"vendor":"php_group","product":"php"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq","tags":["x_transferred","Exploit","Vendor Advisory","advisory","report"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/11","tags":["x_transferred","Mailing List","discussion","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0011/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/","tags":["web"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-2757","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2757","tags":["web","advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2024-2757","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2757.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-2757","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-2757","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-31629","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-1874","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-2757","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-3096","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-2757","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","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.","status":"published","published":"2024-04-29T03:49:15.519Z","modified":"2025-11-04T17:18:03.534Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:34:10.258163Z"}],"euvd":[{"id":"EUVD-2024-27701","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.","status":"published","published":"2024-04-29T03:49:15Z","modified":"2025-11-04T17:18:03Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:28.381167Z"}],"nvd":[{"id":"CVE-2024-2757","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.","status":"published","published":"2024-04-29T04:15:08.113Z","modified":"2026-06-17T07:25:29.127Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:09:55.124919Z"}],"osv":[{"id":"ALPINE-CVE-2024-2757","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.","status":"published","published":"2024-04-29T04:15:08.113Z","modified":"2026-11-03T06:32:49.545837524Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:16:46.202932Z"},{"id":"BELL-CVE-2024-2757","status":"published","published":"2024-04-12T14:57:02.452686Z","modified":"2026-01-26T09:36:30.814032Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:19.66992Z"},{"id":"CVE-2024-2757","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","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.","status":"published","published":"2024-04-29T03:49:15.519Z","modified":"2026-10-28T02:31:04.309832829Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:39.569658Z"},{"id":"UBUNTU-CVE-2024-2757","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.","status":"published","published":"2024-04-29T04:15:00Z","modified":"2026-04-22T14:49:15.570974Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:48.333535Z"},{"id":"AZL-40055","title":"CVE-2024-2757 affecting package php for versions less than 8.3.6-1","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.","status":"published","published":"2024-04-29T04:15:08Z","modified":"2026-04-21T04:50:51.076679Z","updated_at":"2026-11-02T15:28:04.608733Z"},{"id":"BIT-libphp-2024-2757","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","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.","status":"published","published":"2025-08-11T13:54:14.986Z","modified":"2026-09-08T08:48:08.331637751Z","updated_at":"2026-11-02T15:28:32.162822Z"},{"id":"BIT-php-2024-2757","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","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.","status":"published","published":"2024-05-14T07:29:20.782Z","modified":"2026-09-08T08:48:18.268254483Z","updated_at":"2026-11-02T15:28:34.343258Z"},{"id":"BIT-php-min-2024-2757","title":"PHP mb_encode_mimeheader runs endlessly for some inputs","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.","status":"published","published":"2025-01-14T19:19:48.312Z","modified":"2026-09-08T08:48:18.127604365Z","updated_at":"2026-11-02T15:28:34.343258Z"},{"id":"openSUSE-SU-2024:13867-1","title":"php8-8.3.6-1.1 on GA media","description":"These are all security issues fixed in the php8-8.3.6-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:49:09.531279Z","updated_at":"2026-11-02T16:58:36.662953Z"}]}}
