Description
In PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, when an encoding name containing an embedded NUL byte is passed to mb_convert_encoding() or related mbstring functions, the code incorrectly assumes that when strncasecmp() returns 0 it means the strings have the same length. This can lead to out-of-bounds read of global memory, potentially causing a crash or information disclosure or crash. Affected functions include mb_convert_encoding(), mb_detect_encoding(), mb_convert_variables(), and mb_detect_order(), as well as the mbstring.detect_order and mbstring.http_output INI settings.
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| php5 | — | — |
| php7.0 | — | — |
| php7.2 | — | — |
| php7.4 | — | — |
| php8.1 | — | — |
| php8.3 | — | — |
| php8.4 | — | 8.4.11-1ubuntu1.2 |
| php8.5 | — | 8.5.4-0ubuntu1.1 |
References
N/ASimilar Threats
- Unknown UBUNTU-CVE-2024-11235
- Unknown UBUNTU-CVE-2024-11233
- Unknown UBUNTU-CVE-2024-11234
- Unknown UBUNTU-CVE-2024-11236
- Unknown openSUSE-SU-2024:10344-1
Exploit Protection
Help block exploit attempts
BotEraser is designed to detect and help reduce malicious bot traffic that may target known vulnerabilities on your site.
Try BotEraser 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.