ADVISORIES

CVE Program

CNA-CVE-2024-2757

PHP mb_encode_mimeheader runs endlessly for some inputs

Details

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 packages

EcosystemPackageAffected versions
PHPphp
From 8.3 before 8.3.5 (fixed in 8.3.5)

References