Medium SEVERITY — Vulnerability

CVE-2026-91769 — PHP's OpenSSL stream peer verification checks the certificate's subjectAltName entries first and, whenever no entry matc

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.

Platform
PHP
CVE Record
CVE-2026-91769
CVSS Score
4.3/10
Published
25 September 2026
Views
72
Primary source: Review the official advisory at nvd.nist.gov Go to Source

Summary

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.

Assessment

  • CVE: CVE-2026-91769
  • CVSS base score: 4.3
  • Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Source: NVD record

References

Action

  • Verify affected systems against your inventory
  • Apply the vendor patch during a maintenance window
  • Restrict access at the network layer until patched
php *

PHP — Related Advisories

VIEW ALL →