A vulnerability in libphp causes mixed-case HTTPS and FTPS URLs to be treated as unencrypted HTTP or FTP connections, exposing sensitive data in plaintext. This affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13. The issue arises because the stream wrappers enable TLS only when the scheme contains a lowercase 's' at a fixed position, ignoring case-insensitive recognition of URL schemes. An attacker able to observe network traffic can intercept credentials, request bodies, and files that were expected to be protected by TLS.