Improper Validation of Certificate with Host Mismatch in the C++ and D libraries of Apache Thrift. (CVE-2026-85088)
Description
Apache Thrift C++ and D libraries improperly validate TLS certificates when subjectAltName entries do not match the host, falling back to the Common Name (CN) for validation. This behavior violates RFC 6125 and RFC 9525, allowing acceptance of certificates with mismatched subjectAltName but matching CN. Exploitation requires an attacker with a certificate chaining to a trusted CA and matching the connected host's CN, mainly a concern for private PKI deployments. Affected versions include C++ library 0.7.0 through 0.24.0 and D library 0.9.0 through 0.24.0. Users should upgrade to version 0.25.0.
CVSS v4.0
Affected software
pkg:deb/ubuntu/thrift?arch=source&distro=focalpkg:deb/ubuntu/thrift?arch=source&distro=jammypkg:deb/ubuntu/thrift?arch=source&distro=noblepkg:deb/ubuntu/thrift?arch=source&distro=stonkingpkg:deb/ubuntu/thrift?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache Thrift's C++ and D libraries involves improper validation of TLS certificates during hostname verification. The default access managers check the peer certificate's subjectAltName dNSName entries first and then the Common Name if no dNSName matches. According to RFC 6125 section 6.4.4 and RFC 9525 section 2, the Common Name must not be consulted if subjectAltName dNSName entries are present. However, the libraries accept certificates where subjectAltName entries do not match the host but the Common Name does, allowing a certificate with mismatched subjectAltName to be accepted. Exploitation requires an attacker on the network path possessing a certificate chaining to a trusted CA in the client's store and with a Common Name matching the connected host. Public CAs have not issued certificates based solely on Common Name for years, so this is mainly a risk in private or enterprise PKI environments. The affected versions are C++ library 0.7.0 through 0.24.0 and D library 0.9.0 through 0.24.0, with a fix available in 0.25.0.
Potential Impact
An attacker positioned on the network path who holds a certificate chaining to a trusted CA and with a Common Name matching the connected host can bypass proper hostname verification if the certificate's subjectAltName entries do not match the host. This can lead to man-in-the-middle attacks in environments using private or enterprise PKI where certificates may be issued with mismatched subjectAltName and Common Name fields. Public CA-issued certificates are unlikely to be exploitable due to modern issuance practices.
Mitigation Recommendations
Users should upgrade Apache Thrift C++ and D libraries to version 0.25.0 or later, where this certificate validation issue is fixed. Until upgraded, deployments using private or enterprise PKI should carefully review certificate issuance policies to avoid certificates with mismatched subjectAltName and Common Name fields. No other vendor advisory or patch information is provided; patch status is confirmed by the version upgrade recommendation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-85088
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad3f5572cdf04f65665e949
Added to database: 10/17/2026, 22:23:19 UTC
Last enriched: 10/17/2026, 23:27:01 UTC
Last updated: 10/17/2026, 23:27:01 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.