CVE-2026-91769

TLS Hostname Verification Falls Back to CN After SAN Mismatch

MEDIUM
4.3
CVSS Score
Published: September 25, 2026 at 08:59 PM UTC
Updated: October 23, 2026 at 01:20 PM UTC
1 product affected across 1 vendorPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
8.2.0 ≤ v < 8.2.348.3.0 ≤ v < 8.3.358.4.0 ≤ v < 8.4.268.5.0 ≤ v < 8.5.118.2.*8.3.*8.4.*8.5.*
Affected range stops below 8.2.34, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.35, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.11, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.3MEDIUMphp
Attack Vector
ADJACENT_NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-297

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card