# CVE-2026-85088: Apache Thrift, Apache Thrift: The C++ and D clients fall back to the certificate Common Name when subjectAltName entries are present but do not match

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

## Description

```text
Improper Validation of Certificate with Host Mismatch in the C++ and D libraries of Apache Thrift.



Both libraries install a default access manager for client sockets — TSSLSocketFactory does so in C++, and the accessManager property does so in D — which compares the peer certificate against the host

name that was connected to. That comparison walks the subjectAltName dNSName entries first and consults the certificate Common Name afterwards. A name that does not match yields a "skip" result rather than

a rejection, so a certificate whose subjectAltName entries are all present and all non-matching falls through to the Common Name, which can then satisfy the check.



RFC 6125 section 6.4.4, and RFC 9525 section 2, require that the Common Name is not consulted when a dNSName subjectAltName is present. A certificate carrying subjectAltName entries for one name and a

Common Name for another is therefore accepted for a connection to the second name.



Exploitation requires an attacker positioned on the network path who holds a certificate that chains to a certificate authority in the client's trust store and whose Common Name matches the connected host

name. Public certificate authorities have not issued on Common Name alone for many years, so this is principally a concern for deployments using a private or enterprise public-key infrastructure.



This issue affects the C++ library of Apache Thrift from 0.7.0 through 0.24.0 and the D library from 0.9.0 through 0.24.0. Users should upgrade to 0.25.0.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
- EPSS: 0.17%, percentile 6.643%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache thrift: \< 0.25.0
- alpine thrift (Alpine Linux): \< 0.25.0-r0
- debian thrift (Debian): All versions (No fix recorded) \| \< 0.25.0-2
- ubuntu thrift (Ubuntu): All versions (No fix recorded)

## References

- <https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1>
- <https://lists.apache.org/thread/zcgm7lx6037lvgvn87rc1tj3p0zhv371>
- <https://ubuntu.com/security/CVE-2026-85088>
- <https://www.cve.org/CVERecord?id=CVE-2026-85088>
- <https://security-tracker.debian.org/tracker/CVE-2026-85088>
- <https://security.alpinelinux.org/vuln/CVE-2026-85088>

---

Data as of 2026-12-05T07:24:42.247Z. 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
