CVE-2024-2757: PHP · Vulnerability
Affects PHPSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 8.3.5 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.9% chance of exploitation in 30 days – higher than 79% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.3.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade php/php-src to 8.3.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubphp/php-srcpkg:github/php/php-srcOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade PHP to version 8.3.5 or later as soon as it is released by the PHP Group, since this will contain the official fix for the vulnerability. 2. In the interim, implement input validation and sanitization to detect and block unusually long strings of non-space characters followed by a space in inputs processed by mb_encode_mimeheader(). 3. Employ web application firewalls (WAFs) with custom rules to detect and mitigate suspicious payloads targeting this function. 4. Monitor application logs and network traffic for signs of repeated or anomalous requests that could indicate exploitation attempts. 5. Limit exposure of PHP-based services to the internet where possible, using network segmentation and access controls. 6. Conduct code reviews to identify any direct or indirect usage of mb_encode_mimeheader() and assess if alternative encoding methods can be used temporarily. 7. Prepare incident response plans for potential DoS attacks, including resource scaling and failover strategies. 8. Stay informed via official PHP security announcements and CVE databases to apply patches promptly.
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.
References
- github.com/php/php-src/security/advisories/GHSA-fjp9-9hwx-59fq (opens in a new tab)
- openwall.com/lists/oss-security/2024/04/12/11 (opens in a new tab)
- security.netapp.com/advisory/ntap-20240510-0011/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/ (opens in a new tab)