CVE-2026-128090
Published:November 19, 2026
Updated:November 23, 2026
PHAR OpenSSL signature bypass via algorithm downgrade.
The Phar extension selects the signature verification method from the signature type stored in the archive, and only the OpenSSL types consult the separate .pubkey file holding the trusted public key. An attacker who can modify an OpenSSL-signed Phar archive, but not its public key file, can switch the signature type to a keyless hash such as SHA-256 with a recomputed digest, so the altered archive passes verification even with phar.require_hash enabled. An application that loads the archive may then execute attacker-controlled PHP code. Native, tar-based and zip-based phars are affected.
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 Packages
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-5.3.0alpha1 <php-8.2.36 || >=php-5.4.0alpha1 <php-8.2.36 || >=php-5.5.0alpha1 <php-8.2.36 || >=php-5.6.0alpha1 <php-8.2.36 || >=php-7.0.0alpha1 <php-8.2.36 || >=php-7.1.0alpha1 <php-8.2.36 || >=php-7.2.0alpha1 <php-8.2.36 || >=php-7.3.0alpha1 <php-8.2.36 || >=php-7.4.0alpha1 <php-8.2.36 || >=php-8.0.0alpha1 <php-8.2.36 || >=php-8.1.0alpha1 <php-8.2.36 || >=php-8.2.0alpha1 <php-8.2.36Fix Suggestion:
Update to version php-8.2.36https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.6.0alpha1 <php-8.6.0Fix Suggestion:
Update to version php-8.6.0https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.3.0alpha1 <php-8.3.37Fix Suggestion:
Update to version php-8.3.37https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.5.0alpha1 <php-8.5.13Fix Suggestion:
Update to version php-8.5.13https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.4.0alpha1 <php-8.4.28Fix Suggestion:
Update to version php-8.4.28Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.32