🛡️ CVE-2024-2757 — libphp
Description
PHP mb_encode_mimeheader runs endlessly for some inputs
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.
Affected software
CVE-2024-2757 is recorded against 3 packages.
- libphp
- php
- php-min
Timeline and source
Published on 11 August 2025 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
www.openwall.com (Web)
github.com (Web)
nvd.nist.gov (Web)
security.netapp.com (Web)
lists.fedoraproject.org (Web)
CVE-2024-2757 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libphp | — | — |
| php | — | — |
| php-min | — | — |
References
Similar Threats
- Critical CVE-2020-7059
- Critical CVE-2020-7060
- Critical CVE-2020-7061
- High CVE-2020-7062
- Medium CVE-2020-7063
More CVE 2024 advisories
Browse all of CVE 2024 in the advisory index.
Site Security Check
Is libphp part of your stack?
CVE-2024-2757 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.