PHP Group PHP
Mixed-case HTTPS and FTPS URLs can expose data in plaintext
Mixed-case HTTPS and FTPS URLs can expose data in plaintext. The HTTP and FTP stream wrappers recognise URL schemes case-insensitively, but enable TLS only when the scheme contains a lowercase "s" at a fixed position. A URL such as HTTPS:// or FTPS:// passed to file_get_contents(), fopen() or other stream functions, or received as an HTTP redirect target, is therefore handled over unencrypted HTTP or FTP. An attacker able to observe the network traffic can read data the application expected TLS to protect, including credentials, request bodies and transferred files. 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.2.36
- >= 8.3.0, < 8.3.37
- >= 8.4.0, < 8.4.28
- >= 8.5.0, < 8.5.13
Fixed in 8.2.36, 8.3.37, 8.4.28, 8.5.13
Mitigation
Upgrade PHP to 8.2.36 or 8.3.37 or 8.4.28 or 8.5.13 or later.
References
- Vendor advisory github.com/php/php-src/security/advisories/GHS…
Timeline
Days relative to CVE publicationFirst public PoC 6.5 days after publication; not in CISA KEV. First PoC: wild0ni0n/CVE-2026-128064-PoC (created 26 Nov 2026, found by us: 26 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| wild0ni0n/CVE-2026-128064-PoC | 26 Nov 2026 +6.5 d | 26 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.