Medium severity · published Oct 2, 2026
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
6.9
CVSS
0.2%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 6% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AT
Apache Thrift · Apache Software Foundation
before 0.25.0; before 0.25.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-85088
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-85088
vendor-advisory
https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1
vendor-advisory
https://lists.apache.org/thread/zcgm7lx6037lvgvn87rc1tj3p0zhv371
More from Apache Thrift
9.8
CVE-2026-55971
Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform()
9.2
CVE-2026-83632
Apache Thrift: C++ THttpTransport grows its line buffer without bound
9.2
CVE-2026-91135
Apache Thrift: C++ `THeaderTransport::transform()` heap buffer overflow (write direction)
9.1
CVE-2026-58662
Apache Thrift: C++ THeaderTransport::readString() info-header length bounds bypass
9.1
CVE-2026-58023
Apache Thrift: c_glib heap out-of-bounds read in transport leftover-bytes path
