Skip to main content
VulnerabilityPublished Updated

CVE-2026-91769: PHP · Improper validation of certificate with host mismatch

Affects PHPSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.3 Medium · fixed in 8.5.11 : update PHP when convenient.

Data as of 9 Nov 2026, 23:24 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.5.11, 8.4.26, 8.3.35 +1
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade PHP to 8.5.11, 8.4.26, 8.3.35 or 8.2.34.

Affected software

ProductAffectedFixed in
PHP GroupPHPAffected
  • ≥ 8.5.*, < 8.5.11
Fixed in
  • 8.5.11
PHP GroupPHPAffected
  • ≥ 8.4.*, < 8.4.26
Fixed in
  • 8.4.26
PHP GroupPHPAffected
  • ≥ 8.3.*, < 8.3.35
Fixed in
  • 8.3.35
PHP GroupPHPAffected
  • ≥ 8.2.*, < 8.2.34
Fixed in
  • 8.2.34

AI-suggested

If you cannot patch yet, users should be cautious when relying on PHP's OpenSSL stream peer verification for hostname validation, especially in security-critical applications. Consider additional validation layers or alternative libraries that strictly enforce RFC 6125 hostname verification.

Description

CVE-2026-91769 is a vulnerability in PHP's OpenSSL stream peer verification where certificate validation incorrectly accepts certificates with a host name mismatch. Specifically, if a certificate includes subjectAltName (SAN) entries, PHP improperly falls back to validating the Common Name (CN) when no SAN matches, violating RFC 6125. This flaw allows a certificate trusted for one hostname to be used to impersonate another, potentially enabling man-in-the-middle attacks. The vulnerability has a medium severity with a CVSS score of 4.3.

References

Community reviews

Loading reviews…