PHP patches 18 vulnerabilities, seven marked critical
The November 19 releases fix flaws that PHP says need non-default or uncommon setups, including session-handling remote code execution.
OpenSSL Phar signature bypass in PHP 8.2–8.5
PHP’s Phar extension chooses how to verify an archive from the signature type stored inside it, and only OpenSSL types check the separate trusted .pubkey file. Someone who can change an OpenSSL-signed Phar but not its public key can switch the type to a keyless hash such as SHA-256 and recompute the digest, so the altered archive still verifies even with phar.require_hash enabled. An application that then loads it may run attacker-controlled PHP. Native, tar, and zip Phars on the listed PHP releases are affected.
What to do: Upgrade PHP to 8.2.36, 8.3.37, 8.4.28, or 8.5.13, matching the branch in use.
| Product | Affected | Fixed in |
|---|---|---|
| PHP | 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28, and 8.5.* before 8.5.13 | 8.2.36, 8.3.37, 8.4.28, and 8.5.13 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
PHAR OpenSSL signature bypass via algorithm downgrade. The Phar extension selects the signature verification method from the signature type stored in the archive, and only the OpenSSL types consult the separate .pubkey file holding the trusted public key. An attacker who can modify an OpenSSL-signed Phar archive, but not its public key file, can switch the signature type to a keyless hash such as SHA-256 with a recomputed digest, so the altered archive passes verification even with phar.require_hash enabled. An application that loads the archive may then execute attacker-controlled PHP code. Native, tar-based and zip-based phars are affected. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
The November 19 releases fix flaws that PHP says need non-default or uncommon setups, including session-handling remote code execution.
Fixed releases are PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36; two issues can reach ordinary WordPress hosts.
The top issue is a PHP-FPM request-smuggling flaw scored 9.2 that needs reused backend connections.
Today 915 readers · 1K views · 86 reads · all time 211K views