CVEvulnerability
CVE-2026-91769
4.3 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-09-25
- Last modified
- 2026-10-23
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-297
Description
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.
Affected configurations
• php php (>= 8.2.0 < 8.2.34)
• php php (>= 8.3.0 < 8.3.35)
• php php (>= 8.4.0 < 8.4.26)
• php php (>= 8.5.0 < 8.5.11)
Related
Weakness · CWE (1)
- CWE-297 Improper Validation of Certificate with Host Mismatch weakness
References
- https://github.com/php/php-src/security/advisories/GHSA-vvx9-73fr-5jjx Vendor Advisory, Exploit