CVE-2026-91769
MEDIUM
4,3
Source: [email protected]
Attack Vector: adjacent_network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: low
Integrity: none
Availability: none
Description
AI Translation Available
PHP's OpenSSL stream peer verification checks the certificate's subjectAltName entries first and, whenever no entry matches, falls back to the Common Name. RFC 6125 requires the CN to be ignored once the certificate presents any service identity, so a certificate carrying a non-matching DNS SAN was still accepted when its CN matched the requested peer_name. A certificate trusted by the client for one name can therefore be used to impersonate another.
297
Improper Validation of Certificate with Host Mismatch
IncompleteCommon Consequences
Security Scopes Affected:
Access Control
Authentication
Other
Potential Impacts:
Gain Privileges Or Assume Identity
Other
Applicable Platforms
Technologies:
Not Technology-Specific, Mobile, Web Based
https://github.com/php/php-src/security/advisories/GHSA-vvx9-73fr-5jjx