CVE-2026-91769: TLS Hostname Verification Falls Back to CN After SAN Mismatch

Published Sep 24, 2026
·
Updated

Fixed (TLS hostname verification falls back to CN after SAN mismatch). (CVE-2026-91769)

Other sources

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 peername. A certificate trusted by the client for one name can therefore be used to impersonate another.

— MITRE

Affected Software

27 affected componentsFixes available
PHP PHP<8.4.26
8.4.26
Microsoft azl3 php 8.3.33-1<8.3.35-1
8.3.35-1
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
alpine/php82<8.2.35-r0
8.2.35-r0
alpine/php83<8.3.36-r0
8.3.36-r0
alpine/php83<8.3.36-r0
8.3.36-r0
alpine/php83<8.3.35-r0
8.3.35-r0
alpine/php84<8.4.27-r0
8.4.27-r0
alpine/php84<8.4.27-r0
8.4.27-r0
alpine/php84<8.4.26-r0
8.4.26-r0
alpine/php85<8.5.12-r0
8.5.12-r0
alpine/php85<8.5.11-r0
8.5.11-r0
bitnami/php-min>=8.2.0<8.2.34
8.2.34
bitnami/php-min>=8.3.0<8.3.35
8.3.35
bitnami/php-min>=8.4.0<8.4.26
8.4.26
bitnami/php-min>=8.5.0<8.5.11
8.5.11
bitnami/php>=8.2.0<8.2.34
8.2.34
bitnami/php>=8.3.0<8.3.35
8.3.35
bitnami/php>=8.4.0<8.4.26
8.4.26
bitnami/php>=8.5.0<8.5.11
8.5.11
bitnami/libphp>=8.2.0<8.2.34
8.2.34
bitnami/libphp>=8.3.0<8.3.35
8.3.35
bitnami/libphp>=8.4.0<8.4.26
8.4.26
bitnami/libphp>=8.5.0<8.5.11
8.5.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.4.26
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.3.35-1
  3. Upgrade

    Upgrade alpine/php82 to a version that resolves this vulnerability.

    Fixed in 8.2.35-r0
  4. Upgrade

    Upgrade alpine/php83 to a version that resolves this vulnerability.

    Fixed in 8.3.36-r0
  5. Upgrade

    Upgrade alpine/php83 to a version that resolves this vulnerability.

    Fixed in 8.3.35-r0
  6. Upgrade

    Upgrade alpine/php84 to a version that resolves this vulnerability.

    Fixed in 8.4.27-r0
  7. Upgrade

    Upgrade alpine/php84 to a version that resolves this vulnerability.

    Fixed in 8.4.26-r0
  8. Upgrade

    Upgrade alpine/php85 to a version that resolves this vulnerability.

    Fixed in 8.5.12-r0
  9. Upgrade

    Upgrade alpine/php85 to a version that resolves this vulnerability.

    Fixed in 8.5.11-r0
  10. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.2.34
  11. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.3.35
  12. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.4.26
  13. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.5.11
  14. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.2.34
  15. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.3.35
  16. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.4.26
  17. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.5.11
  18. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.2.34
  19. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.3.35
  20. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.4.26
  21. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.5.11

Event History

Sep 24, 2026
CVE Published
via PHP·12:00 AM
Data Sourced
via PHP·12:00 AM
DescriptionAffected Software
Sep 25, 2026
CVE Published
via MITRE·08:59 PM
Data Sourced
via MITRE·08:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness
Sep 28, 2026
Data Sourced
via Microsoft·06:14 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·01:53 PM
DescriptionSeverityAffected Software
Oct 1, 2026
Advisory Published
via OSV·09:29 AM
Oct 23, 2026
Data Sourced
via NVD·01:20 PM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·06:33 AM
Affected Software

Frequently Asked Questions

1

Which PHP release documentation should be checked to verify this fix?

The provided reference points to the PHP 8.3.35 changelog. The available data does not identify affected version ranges or fixes in other release branches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203