ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-91769

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions before 5.5.9+dfsg-1ubuntu4.29+esm17 (fixed in 5.5.9+dfsg-1ubuntu4.29+esm17)
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm21 (fixed in 7.0.33-0ubuntu0.16.04.16+esm21)
Ubuntu:Pro:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.17+esm13 (fixed in 7.2.24-0ubuntu0.18.04.17+esm13)
Ubuntu:Pro:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.29+esm4 (fixed in 7.4.3-4ubuntu2.29+esm4)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.27 (fixed in 8.1.2-1ubuntu2.27)
Ubuntu:24.04:LTSphp8.3
All versions before 8.3.6-0ubuntu0.24.04.12 (fixed in 8.3.6-0ubuntu0.24.04.12)
Ubuntu:26.10php8.5
All versions before 8.5.9-0ubuntu2 (fixed in 8.5.9-0ubuntu2)
Ubuntu:26.04:LTSphp8.5
All versions before 8.5.4-0ubuntu1.4 (fixed in 8.5.4-0ubuntu1.4)

References