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 php81Upgrade php82Upgrade php83 | 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-ffiUpgrade php8-intlUpgrade php8-xmlwriterUpgrade php8-bcmathUpgrade php8-sqliteUpgrade php8-pdoUpgrade php8-gettextUpgrade php8-pgsqlUpgrade php8-bz2Upgrade php8-soapUpgrade php8-pharUpgrade php8-mbstringUpgrade php8-opcacheUpgrade php8-ldapUpgrade php8-shmopUpgrade php8-readlineUpgrade php8-domUpgrade php8-gdUpgrade php8-ctypeUpgrade php8-fpm-apacheUpgrade php8-sysvsemUpgrade php8-curlUpgrade php8-fpmUpgrade php8-gmpUpgrade php8-odbcUpgrade apache2-mod_php8Upgrade php8Upgrade php8-calendarUpgrade php8-enchantUpgrade php8-zlibUpgrade php8-zipUpgrade php8-embedUpgrade php8-xslUpgrade php8-posixUpgrade php8-develUpgrade php8-socketsUpgrade php8-iconvUpgrade php8-dbaUpgrade php8-pcntlUpgrade php8-tidyUpgrade php8-sysvmsgUpgrade php8-snmpUpgrade php8-xmlreaderUpgrade php8-opensslUpgrade php8-mysqlUpgrade php8-fastcgiUpgrade php8-tokenizerUpgrade php8-cliUpgrade php8-ftpUpgrade php8-fileinfoUpgrade php8-sysvshmUpgrade php8-exifUpgrade php8-sodium | Dec 5, 2025 | Oct 14, 2024 |
Prioritise 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