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.
Double-free in PHP DOM XML serialization
PHP’s XML serializer for Dom\XMLDocument and Dom\HTMLDocument can share a generated namespace prefix between an element and a descendant, then use it after it is freed and free it again. The document need not be malformed. An app that parses attacker-controlled XML or HTML with these classes and calls saveXml() can be crashed; repeated requests can deny service. Code execution has not been demonstrated. PHP 8.4 before 8.4.28 and 8.5 before 8.5.13 are affected.
What to do: Upgrade PHP 8.4 to 8.4.28 or PHP 8.5 to 8.5.13. No workaround is named.
| Product | Affected | Fixed in |
|---|---|---|
| PHP | 8.4.* before 8.4.28 and 8.5.* before 8.5.13 | 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.
Double free during DOM XML serialization. The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. An application that parses attacker-controlled XML or HTML with these classes and serializes it with saveXml() can be crashed, and repeated requests can cause denial of service. Code execution has not been demonstrated. This issue affects PHP versions 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.
Today 915 readers · 1K views · 86 reads · all time 211K views