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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
15 packages: 4 fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/thrift(Debian 12) | = 0.17.0-2; = 0.17.0-3; = 0.17.0-4; = 0.18.1-1 +18 more | No fix listed | No fix yet |
| debian/thrift(Debian 13) | = 0.19.0-4; = 0.20.0-1; = 0.22.0-1; = 0.22.0-2 +8 more | No fix listed | No fix yet |
| debian/thrift(Debian 14) | = 0.19.0-4; = 0.20.0-1; = 0.22.0-1; = 0.22.0-2 +8 more | No fix listed | No fix yet |
| redhat/thrift(Red Hat ceph_storage 7) | All versions | No fix listed | No fix yet |
| redhat/thrift(Red Hat ceph_storage 8) | All versions | No fix listed | No fix yet |
| redhat/thrift(Red Hat ceph_storage 9) | All versions | No fix listed | No fix yet |
| redhat/thrift(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| ubuntu/thrift(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/thrift(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/thrift(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/thrift(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| Apache Thrift | < 0.25.0 | 0.25.0 | Fixed |
| azure linux thrift(Azure Linux 3.0) | < 0.25.0-1 | 0.25.0-1 | Fixed |
| conan thrift | < 0.25.0 | 0.25.0 | Fixed |
| redhat/thrift-main(Red Hat hummingbird 1) | < 0.25.0-0.1.hum1 | 0.25.0-0.1.hum1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/thrift-main(Red Hat:hummingbird:1) | < 0.25.0-0.1.hum1 | 0.25.0-0.1.hum1 |
| redhat/thrift(Red Hat:ceph_storage:7) | All versions | No fix listed |
| redhat/thrift(Red Hat:ceph_storage:8) | All versions | No fix listed |
| redhat/thrift(Red Hat:ceph_storage:9) | All versions | No fix listed |
| redhat/thrift(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| conan thrift | < 0.25.0 | 0.25.0 |
| Apache Thrift | < 0.25.0 | 0.25.0 |
| debian/thrift(Debian:12) | All versions | No fix listed |
| debian/thrift(Debian:12) | = 0.17.0-2 | No fix listed |
| debian/thrift(Debian:12) | = 0.17.0-3 | No fix listed |
| debian/thrift(Debian:12) | = 0.17.0-4 | No fix listed |
| debian/thrift(Debian:12) | = 0.18.1-1 | No fix listed |
| debian/thrift(Debian:12) | = 0.18.1-2 | No fix listed |
| debian/thrift(Debian:12) | = 0.19.0-1 | No fix listed |
| debian/thrift(Debian:12) | = 0.19.0-2 | No fix listed |
| debian/thrift(Debian:12) | = 0.19.0-2.1 | No fix listed |
| debian/thrift(Debian:12) | = 0.19.0-2.1~exp1 | No fix listed |
| debian/thrift(Debian:12) | = 0.19.0-3 | No fix listed |
| debian/thrift(Debian:12) | = 0.19.0-4 | No fix listed |
| debian/thrift(Debian:12) | = 0.20.0-1 | No fix listed |
| debian/thrift(Debian:12) | = 0.22.0-1 | No fix listed |
| debian/thrift(Debian:12) | = 0.22.0-2 | No fix listed |
| debian/thrift(Debian:12) | = 0.22.0-3 | No fix listed |
| debian/thrift(Debian:12) | = 0.22.0-4 | No fix listed |
| debian/thrift(Debian:12) | = 0.23.0-1 | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/thrift(Debian:12) | = 0.23.0-2 | No fix listed |
| debian/thrift(Debian:12) | = 0.23.0-3 | No fix listed |
| debian/thrift(Debian:12) | = 0.24.0-1 | No fix listed |
| debian/thrift(Debian:12) | = 0.24.0-2 | No fix listed |
| debian/thrift(Debian:13) | All versions | No fix listed |
| debian/thrift(Debian:13) | = 0.19.0-4 | No fix listed |
| debian/thrift(Debian:13) | = 0.20.0-1 | No fix listed |
| debian/thrift(Debian:13) | = 0.22.0-1 | No fix listed |
| debian/thrift(Debian:13) | = 0.22.0-2 | No fix listed |
| debian/thrift(Debian:13) | = 0.22.0-3 | No fix listed |
| debian/thrift(Debian:13) | = 0.22.0-4 | No fix listed |
| debian/thrift(Debian:13) | = 0.23.0-1 | No fix listed |
| debian/thrift(Debian:13) | = 0.23.0-2 | No fix listed |
| debian/thrift(Debian:13) | = 0.23.0-3 | No fix listed |
| debian/thrift(Debian:13) | = 0.24.0-1 | No fix listed |
| debian/thrift(Debian:13) | = 0.24.0-2 | No fix listed |
| debian/thrift(Debian:14) | All versions | No fix listed |
| debian/thrift(Debian:14) | = 0.19.0-4 | No fix listed |
| debian/thrift(Debian:14) | = 0.20.0-1 | No fix listed |
| debian/thrift(Debian:14) | = 0.22.0-1 | No fix listed |
| debian/thrift(Debian:14) | = 0.22.0-2 | No fix listed |
| debian/thrift(Debian:14) | = 0.22.0-3 | No fix listed |
| debian/thrift(Debian:14) | = 0.22.0-4 | No fix listed |
| debian/thrift(Debian:14) | = 0.23.0-1 | No fix listed |
| debian/thrift(Debian:14) | = 0.23.0-2 | No fix listed |
| debian/thrift(Debian:14) | = 0.23.0-3 | No fix listed |
| debian/thrift(Debian:14) | = 0.24.0-1 | No fix listed |
| debian/thrift(Debian:14) | = 0.24.0-2 | No fix listed |
| ubuntu/thrift(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/thrift(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/thrift(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/thrift(Ubuntu:26.10) | All versions | No fix listed |
| azure linux thrift(Azure Linux:3.0) | < 0.25.0-1 | 0.25.0-1 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:74369 patch vendor-advisory
- Red Hat Bugzilla 2545088 issue-tracking
- www.cve.org
- nvd.nist.gov
- lists.apache.org vendor-advisory
- lists.apache.org vendor-advisory
- Debian Security Tracker CVE-2026-85088 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-91418 third-party-advisory