PHP Patches High-Severity Flaw in Protocol Case Handling That Could Downgrade Encrypted Transmissions Like HTTPS
7 hour ago / Read about 0 minute
Author:小编   

The PHP project team has rolled out security updates across multiple releases, including version 8.5.13, addressing a total of 18 CVEs—four of which can lead to remote code execution. The most severe of these, CVE-2026-128064, carries a CVSS 4.0 score of 8.2. At the root of the issue is inconsistent treatment of URL scheme casing, which can cause HTTPS and FTPS requests to be silently downgraded to plaintext transmission. The flaw can be triggered in several ways: by passing mixed-case protocol URLs directly, by initiating requests through stream functions, or by following HTTP redirects. Exploitation may result in the leakage of authentication credentials and sensitive data. The underlying problem has persisted for nearly two decades. PHP 8.1 and earlier versions have reached end-of-life upstream and will not receive official security fixes. As temporary mitigations, users should convert protocol names to lowercase beforehand and verify each normalized redirect target individually.