CVE-2026-91769
TLS Hostname Verification Falls Back to CN After SAN Mismatch
Reported by php · Published September 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.4-sodium | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
| php-pecl-xdebug-debugsource | errata.rockylinux.org | 2.9.5-1.module, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php8.4-cli | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
| php8.3-bcmath | Amazon Linux | 8.3.35-1.amzn2023.0.1 |
| php-opcache | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64 |
| php8.4-gd | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
| php8.5-process | Amazon Linux | 8.5.11-1.amzn2023.0.1 |
| php8.2-tidy | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| php8.2-mysqlnd | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| php8.3-fpm | Amazon Linux | 8.3.35-1.amzn2023.0.1 |
| libzip-tools | errata.rockylinux.org | 1.6.1-1.module, 0:1.6.1-1.module+el8.10.0+1912+72767185.aarch64, 0:1.6.1-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php8.4-pdo | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
81 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.2.*, 8.3.*, 8.4.* |
| amazon:2023 | php8.4-sodium | 0 |
| amazon:2023 | php8.4-cli | 0 |
| amazon:2023 | php8.3-bcmath | 0 |
| amazon:2023 | php8.4-gd | 0 |
| amazon:2023 | php8.5-process | 0 |
| amazon:2023 | php8.2-tidy | 0 |
| amazon:2023 | php8.2-mysqlnd | 0 |
| amazon:2023 | php8.3-fpm | 0 |
| amazon:2023 | php8.4-pdo | 0 |
| amazon:2023 | php8.4-ffi | 0 |
| amazon:2023 | php8.3-gmp | 0 |
| amazon:2023 | php8.3-soap | 0 |
| amazon:2023 | php8.2-fpm | 0 |
| amazon:2023 | php8.4-tidy | 0 |
| amazon:2023 | php8.3-pdo | 0 |
| amazon:2023 | php8.2-enchant | 0 |
| amazon:2023 | php8.4-mysqlnd | 0 |
| amazon:2023 | php8.4-fpm | 0 |
| amazon:2023 | php8.4-bcmath | 0 |
…and 102 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (7 in total, the first dated here)
- Oct 21, 2026 Distribution Patch (2 in total, the first dated here)
- Oct 21, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-91769
vulnetix vdb fixes CVE-2026-91769
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-91769/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart