# CVE-2024-2757: libapache2-mod-php8.3: In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings o...

CVE-2024-2757 is fixed in 34 products on 1 platform, first by libapache2-mod-php8.3 8.3.6-0maysync1, released April 28, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-2757
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0192
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 28, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libapache2-mod-php8.3 Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [libapache2-mod-php8.3 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libapache2-mod-php8.3-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | libphp8.3-embed Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [libphp8.3-embed 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libphp8.3-embed-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3 Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-bcmath Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-bcmath 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-bcmath-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-bz2 Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-bz2 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-bz2-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-cgi Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-cgi 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-cgi-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-cli Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-cli 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-cli-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-common Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-common 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-common-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-curl Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-curl 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-curl-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-dba Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-dba 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-dba-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-enchant Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-enchant 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-enchant-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-fpm Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-fpm 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-fpm-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-gd Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-gd 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-gd-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-gmp Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-gmp 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-gmp-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-imap Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-imap 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-imap-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-interbase Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-interbase 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-interbase-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-intl Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-intl 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-intl-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-ldap Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-ldap 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-ldap-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-mbstring Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-mbstring 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-mbstring-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-mysql Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-mysql 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-mysql-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-odbc Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-odbc 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-odbc-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-opcache Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-opcache 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-opcache-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-pgsql Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-pgsql 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-pgsql-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-phpdbg Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-phpdbg 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-phpdbg-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-pspell Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-pspell 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-pspell-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-readline Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-readline 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-readline-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-snmp Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-snmp 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-snmp-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-soap Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-soap 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-soap-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-sqlite3 Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-sqlite3 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-sqlite3-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-sybase Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-sybase 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-sybase-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-tidy Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-tidy 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-tidy-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-xml Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-xml 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-xml-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-xsl Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-xsl 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-xsl-8.3.6-0maysync1.md) | Apr 28, 2024 |
| Linux | php8.3-zip Ubuntu 24.04.5 LTS (noble) | 8.3.6-0maysync1 | [php8.3-zip 8.3.6-0maysync1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-php8.3-zip-8.3.6-0maysync1.md) | Apr 28, 2024 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
