In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade php83Upgrade php81Upgrade php82 | Aug 22, 2024 | Jun 9, 2024 |
| Gentoo Linux | — | Upgrade dev-lang/php. | Aug 13, 2024 | Jun 9, 2024 |
| Php | — | Upgrade to PHP version 8.1.29Upgrade to PHP version 8.3.8Upgrade to PHP version 8.2.20 | Jun 10, 2024 | May 29, 2024 |
| Suse | — | Upgrade php8-tokenizerUpgrade php8-develUpgrade php8-fileinfoUpgrade php8-sysvshmUpgrade php8-opensslUpgrade php8-cliUpgrade php8-xmlreaderUpgrade php8-fastcgiUpgrade php8-mysqlUpgrade php8-exifUpgrade php8-dbaUpgrade php8-embedUpgrade php8-pcntlUpgrade php8-iconvUpgrade php8-sysvmsgUpgrade php8-tidyUpgrade php8-socketsUpgrade php8-ftpUpgrade php8-zlibUpgrade php8-posixUpgrade php8-xslUpgrade php8-snmpUpgrade php8-zipUpgrade php8-sodiumUpgrade php8-fpmUpgrade php8-ffiUpgrade php8-pdoUpgrade php8-xmlwriterUpgrade php8-bcmathUpgrade php8-shmopUpgrade php8-opcacheUpgrade php8-mbstringUpgrade php8-ldapUpgrade php8-domUpgrade apache2-mod_php8Upgrade php8-curlUpgrade php8Upgrade php8-readlineUpgrade php8-pharUpgrade php8-gdUpgrade php8-sysvsemUpgrade php8-ctypeUpgrade php8-soapUpgrade php8-sqliteUpgrade php8-odbcUpgrade php8-gettextUpgrade php8-bz2Upgrade php8-pgsqlUpgrade php8-enchantUpgrade php8-intlUpgrade php8-fpm-apacheUpgrade php8-calendarUpgrade php8-gmp | Dec 5, 2025 | Oct 14, 2024 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub