PHP's OpenSSL stream peer verification checks the certificate's subjectAltName entries first and, whenever no entry matches, falls back to the Common Name.
- CVSS
- 4.3Medium
- Chance of exploitation (EPSS)
- 0.16%
- Published
- Sep 25, 2026
- In the news
- Not yet
What to do
A moderate security flaw in PHP. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 8.2.34, 8.3.35, 8.4.26, 8.5.11
Affected versions
- PHP
- 8.2.* to before 8.2.34; 8.3.* to before 8.3.35; 8.4.* to before 8.4.26; 8.5.* to before 8.5.11
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 products
Get alerts for these →Timeline 14
Latest change: Nessus plugin 390187: Rocky Linux 10.2 [CIQ] Security Update: php / php-bcmath / php-cli / php-common / php-dba / php-dbg / etc Multiple Vulnerabilities (ciqsa-2026_1931) (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- DetectionNessus plugin 390187: Rocky Linux 10.2 [CIQ] Security Update: php / php-bcmath / php-cli / php-common / php-dba / php-dbg / etc Multiple Vulnerabilities (ciqsa-2026_1931)Tenable
- DetectionNessus plugin 390189: Rocky Linux 10.2 [CIQ] Security Update: php8.4 / php8.4-bcmath / php8.4-cli / php8.4-common / php8.4-dba / etc Multiple Vulnerabilities (ciqsa-2026_1932)Tenable
Tue, Nov 17, 2026
- DetectionNessus plugin 370139: RHEL 8 : php:7.4 (RHSA-2026:87080)Tenable
- DetectionNessus plugin 371396: MiracleLinux 8 : php:7.4 (AXSA:2026-2134:01)Tenable
- DetectionNessus plugin 370176: RockyLinux 8 : php:7.4 (RLSA-2026:87080)Tenable
- DetectionNessus plugin 370355: Rocky Linux 8 [CIQ] Security Update: apcu-panel / libzip / libzip-debuginfo / libzip-debugsource / etc Multiple Vulnerabilities (crlsa-2026_87080)Tenable
- DetectionNessus plugin 370448: Oracle Linux 8 : php:7.4 (ELSA-2026-87080)Tenable
- DetectionNessus plugin 370507: AlmaLinux 8 : php:7.4 (ALSA-2026:87080)Tenable
Tue, Oct 27, 2026
- DetectionNessus plugin 372245: TencentOS Server 3: php:7.4 (TSSA-2026:1210)Tenable
- DetectionTenable Cloud Security plugin 476618: Echo: php-7.2: security update to 7.2.34+e1php-8.1: security update to 8.1.34+e1Tenable
- DetectionTenable Container Security plugin 476618: Echo: php-7.2: security update to 7.2.34+e1php-8.1: security update to 8.1.34+e1Tenable
Mon, Oct 26, 2026
Fri, Sep 25, 2026
- CVECVE-2026-91769 published (CVSS 4.3)CVE Program · 21:17 UTC
References 1
- github.com Vendor AdvisoryExploit /php/php-src/security/advisories/GHSA-vvx9-73fr-5jjx