CVE-2026-128064 Mixed-case HTTPS and FTPS URLs can expose data in plaintext

Published Updated

Attackers observing network traffic can read data PHP applications expected to be protected by TLS, including credentials, when mixed-case HTTPS/FTPS URLs reach stream functions.

CVSS score

High

8.2/10

CVSS 4.0 · Scored by Php Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
2 on GitHub, unverified
Fix
Available
8.5.13, 8.4.28, 8.3.37 +1
Attack path
Over the internet
No login, no user action

What is CVE-2026-128064?

CVE-2026-128064 is a high-severity information disclosure vulnerability in PHP, published on 19 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-319

How severe is CVE-2026-128064?

CVE-2026-128064 scores 8.2 out of 10 under CVSS 4.0, which is high severity. It was scored by Php.

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-128064?

3 open source packages ship an affected version, including php, libphp and php-min. It affects 1 product.

An affected version is only exploitable if your software calls file_get_contents() or fopen(). Many projects that include it are not exposed.

PackageAffectedFixed in
php Bitnami
pkg:bitnami/php
From 8.2.08.2.36, 8.3.37, 8.4.28, 8.5.13
libphp Bitnami
pkg:bitnami/libphp
From 8.2.08.2.36, 8.3.37, 8.4.28, 8.5.13
php-min Bitnami
pkg:bitnami/php-min
From 8.2.08.2.36, 8.3.37, 8.4.28, 8.5.13
Status by vendor 19
WhoReleaseStatusPackages
Red Hat8fixedapcu-panel (5.1.18-1.module+el8.10.0+22485+a3539972), apcu-panel (5.1.23-1.module+el8.10.0+20770+a5eca186), libzip (1.6.1-1.module+el8.10.0+22485+a3539972) and 143 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8
pkg:rpm/redhat/libzip?distro=rhel-8
Red Hat9fixedapcu-panel (5.1.23-1.module+el9.7.0+24111+199d2cc4), apcu-panel (5.1.23-1.module+el9.8.0+24343+756b4fcd), apcu-panel (5.1.27-2.module+el9.9.0+24551+b05e3fee) and 245 more
pkg:rpm/redhat/apcu-panel?distro=rhel-9
Red Hat10.3fixedphp (8.3.37-1.el10_3), php-bcmath (8.3.37-1.el10_3), php-bcmath-debuginfo (8.3.37-1.el10_3) and 97 more
pkg:rpm/redhat/php?distro=rhel-10.3
pkg:rpm/redhat/php-bcmath?distro=rhel-10.3
pkg:rpm/redhat/php-bcmath-debuginfo?distro=rhel-10.3
Red Hataus/8.4fixedapcu-panel (5.1.18-1.module+el8.3.0+6678+b09f589e), libzip (1.6.1-1.module+el8.3.0+6678+b09f589e), libzip-debuginfo (1.6.1-1.module+el8.3.0+6678+b09f589e) and 72 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8.4
pkg:rpm/redhat/libzip?distro=rhel-8.4
pkg:rpm/redhat/libzip-debuginfo?distro=rhel-8.4
Red Hataus/8.6fixedapcu-panel (5.1.18-1.module+el8.3.0+6678+b09f589e), libzip (1.6.1-1.module+el8.3.0+6678+b09f589e), libzip-debuginfo (1.6.1-1.module+el8.3.0+6678+b09f589e) and 72 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8.6
pkg:rpm/redhat/libzip?distro=rhel-8.6
pkg:rpm/redhat/libzip-debuginfo?distro=rhel-8.6
Red Hate4s/8.8fixedapcu-panel (5.1.18-1.module+el8.3.0+6678+b09f589e), libzip (1.6.1-1.module+el8.3.0+6678+b09f589e), libzip-debuginfo (1.6.1-1.module+el8.3.0+6678+b09f589e) and 72 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8.8
pkg:rpm/redhat/libzip?distro=rhel-8.8
pkg:rpm/redhat/libzip-debuginfo?distro=rhel-8.8
Red Hate4s/9.2fixedphp (8.0.30-1.el9_2.3), php-cli (8.0.30-1.el9_2.3), php-dbg (8.0.30-1.el9_2.3) and 47 more
pkg:rpm/redhat/php?distro=rhel-9.2
pkg:rpm/redhat/php-cli?distro=rhel-9.2
pkg:rpm/redhat/php-dbg?distro=rhel-9.2
Red Hate4s/9.4fixedapcu-panel (5.1.23-1.module+el9.4.0+20748+b46899d2), php (8.0.30-1.el9_4.3), php (8.2.36-1.module+el9.4.0+25392+4784b66b) and 111 more
pkg:rpm/redhat/apcu-panel?distro=rhel-9.4
pkg:rpm/redhat/php?distro=rhel-9.4
Red Hatels/6end of lifephp, php-bcmath, php-cli and 24 more
pkg:rpm/redhat/php?distro=rhel-6
pkg:rpm/redhat/php-bcmath?distro=rhel-6
pkg:rpm/redhat/php-cli?distro=rhel-6
Red Hatels/7fixedphp (5.4.16-48.el7_9.2), php-cli (5.4.16-48.el7_9.2), php-embedded (5.4.16-48.el7_9.2) and 23 more
pkg:rpm/redhat/php?distro=rhel-7
pkg:rpm/redhat/php-cli?distro=rhel-7
pkg:rpm/redhat/php-embedded?distro=rhel-7
Red Hateus/9.6fixedapcu-panel (5.1.23-1.module+el9.4.0+20748+b46899d2), apcu-panel (5.1.23-1.module+el9.6.0+22647+1741ae35), php (8.0.30-3.el9_6.3) and 178 more
pkg:rpm/redhat/apcu-panel?distro=rhel-9.6
pkg:rpm/redhat/php?distro=rhel-9.6
Red Hateus/9.8fixedapcu-panel (5.1.23-1.module+el9.7.0+24111+199d2cc4), apcu-panel (5.1.23-1.module+el9.8.0+24343+756b4fcd), php (8.0.30-8.el9_8.2) and 178 more
pkg:rpm/redhat/apcu-panel?distro=rhel-9.8
pkg:rpm/redhat/php?distro=rhel-9.8
Red Hateus/10.0fixedphp (8.3.37-1.el10_0), php-bcmath (8.3.37-1.el10_0), php-bcmath-debuginfo (8.3.37-1.el10_0) and 47 more
pkg:rpm/redhat/php?distro=rhel-10.0
pkg:rpm/redhat/php-bcmath?distro=rhel-10.0
pkg:rpm/redhat/php-bcmath-debuginfo?distro=rhel-10.0
Red Hateus/10.2fixedphp (8.3.37-1.el10_2), php-bcmath (8.3.37-1.el10_2), php-cli (8.3.37-1.el10_2) and 97 more
pkg:rpm/redhat/php?distro=rhel-10.2
pkg:rpm/redhat/php-bcmath?distro=rhel-10.2
pkg:rpm/redhat/php-cli?distro=rhel-10.2
Red Hateus-long-life/8.4fixedapcu-panel (5.1.18-1.module+el8.3.0+6678+b09f589e), libzip (1.6.1-1.module+el8.3.0+6678+b09f589e), libzip-debuginfo (1.6.1-1.module+el8.3.0+6678+b09f589e) and 72 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8.4
pkg:rpm/redhat/libzip?distro=rhel-8.4
pkg:rpm/redhat/libzip-debuginfo?distro=rhel-8.4
Red Hateus-long-life/8.6fixedapcu-panel (5.1.18-1.module+el8.3.0+6678+b09f589e), libzip (1.6.1-1.module+el8.3.0+6678+b09f589e), libzip-debuginfo (1.6.1-1.module+el8.3.0+6678+b09f589e) and 72 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8.6
pkg:rpm/redhat/libzip?distro=rhel-8.6
pkg:rpm/redhat/libzip-debuginfo?distro=rhel-8.6
Red Hathummingbird:1fixedphp (8.5.13-0.1.hum1), php-bcmath (8.5.13-0.1.hum1), php-cli (8.5.13-0.1.hum1) and 25 more
pkg:rpm/redhat/php
pkg:rpm/redhat/php-bcmath
pkg:rpm/redhat/php-cli
Red Hattus/8.8fixedapcu-panel (5.1.18-1.module+el8.3.0+6678+b09f589e), libzip (1.6.1-1.module+el8.3.0+6678+b09f589e), libzip-debuginfo (1.6.1-1.module+el8.3.0+6678+b09f589e) and 72 more
pkg:rpm/redhat/apcu-panel?distro=rhel-8.8
pkg:rpm/redhat/libzip?distro=rhel-8.8
pkg:rpm/redhat/libzip-debuginfo?distro=rhel-8.8
Bitnami (rebuild)fixedlibphp (8.3.37), php (8.3.37), php-min (8.3.37)
pkg:bitnami/libphp
pkg:bitnami/php
pkg:bitnami/php-min

Products include PHP.

CPE match criteria 4
CPE 2.3Versions
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*before 8.2.36
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*from 8.3.0, before 8.3.37
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*from 8.4.0, before 8.4.28
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*from 8.5.0, before 8.5.13

How do I fix CVE-2026-128064?

Upgrade php to a fixed version for your release line: 8.5.13, 8.4.28, 8.3.37 or 8.2.36.

Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.

Is CVE-2026-128064 being exploited?

There is no known exploitation of CVE-2026-128064 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as ALPINE-CVE-2026-128064, AZL-115123, BELL-CVE-2026-128064, BIT-libphp-2026-128064, BIT-php-2026-128064, BIT-php-min-2026-128064 and 3 more.

Is CVE-2026-128064 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free