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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-25 · Modified: 2026-10-04
- Aliases: UBUNTU-CVE-2026-91769, DEBIAN-CVE-2026-91769, ALPINE-CVE-2026-91769
- Record: https://cvemate.com/vulnerability/CVE-2026-91769 · JSON: https://cvemate.com/vulnerability/CVE-2026-91769/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.165%, percentile 5.97%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine php82 (Alpine Linux): \< 8.2.35-r0
- alpine php83 (Alpine Linux): \< 8.3.36-r0 \| \< 8.3.35-r0
- alpine php84 (Alpine Linux): \< 8.4.27-r0 \| \< 8.4.26-r0
- alpine php85 (Alpine Linux): \< 8.5.12-r0 \| \< 8.5.11-r0
- debian php8.2 (Debian): \< 8.2.34-1~deb12u1
- debian php8.4 (Debian): \< 8.4.26-1~deb13u1 \| \< 8.4.26-1
- ubuntu php5 (Ubuntu): All versions (No fix recorded) \| \< 5.5.9+dfsg-1ubuntu4.29+esm17
- ubuntu php7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.33-0ubuntu0.16.04.16+esm21
- ubuntu php7.2 (Ubuntu): All versions (No fix recorded) \| \< 7.2.24-0ubuntu0.18.04.17+esm13
- ubuntu php7.4 (Ubuntu): All versions (No fix recorded) \| \< 7.4.3-4ubuntu2.29+esm4
- ubuntu php8.1 (Ubuntu): All versions (No fix recorded) \| \< 8.1.2-1ubuntu2.27
- ubuntu php8.3 (Ubuntu): All versions (No fix recorded) \| \< 8.3.6-0ubuntu0.24.04.12
- ubuntu php8.5 (Ubuntu): All versions (No fix recorded) \| \< 8.5.9-0ubuntu2 \| \< 8.5.4-0ubuntu1.4
- php group php: ≥ 8.2.\*, \< 8.2.34 \| ≥ 8.3.\*, \< 8.3.35 \| ≥ 8.4.\*, \< 8.4.26 \| ≥ 8.5.\*, \< 8.5.11
- php php: ≥ 8.2.0, \< 8.2.34 \| ≥ 8.3.0, \< 8.3.35 \| ≥ 8.4.0, \< 8.4.26 \| ≥ 8.5.0, \< 8.5.11

## References

- <https://github.com/php/php-src/security/advisories/GHSA-vvx9-73fr-5jjx>
- <https://ubuntu.com/security/CVE-2026-91769>
- <https://www.cve.org/CVERecord?id=CVE-2026-91769>
- <https://github.com/php/php-src/blob/php-8.4.26/NEWS>
- <https://security-tracker.debian.org/tracker/CVE-2026-91769>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-91769>
- <https://ubuntu.com/security/notices/USN-8936-1>
- <https://security.alpinelinux.org/vuln/CVE-2026-91769>

---

Data as of 2026-12-05T03:01:16.406Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
