A vulnerability in PHP affects how HTTPS and FTPS URLs with mixed-case schemes are handled. The HTTP and FTP stream wrappers in PHP recognize URL schemes case-insensitively but only enable TLS if the scheme contains a lowercase 's' at a fixed position. URLs like HTTPS:// or FTPS:// are treated as unencrypted HTTP or FTP, exposing data in plaintext. This can lead to exposure of sensitive data such as credentials, request bodies, and transferred files. The issue affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13.