Skip to main content

Improper Validation of Certificate with Host Mismatch in the C++ and D libraries of Apache Thrift. (CVE-2026-85088)

0
Medium
Published: 10/02/2026 (10/02/2026, 12:17:00 UTC)
Source: GCVE Database
Product: thrift

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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Ubuntu:20.04:LTSmore threats →ghsa
thrift
pkg:deb/ubuntu/thrift?arch=source&distro=focal
Affected versions
=0.11.0-6=0.13.0-2build1=0.13.0-2build2
Ubuntu:22.04:LTSmore threats →ghsa
thrift
pkg:deb/ubuntu/thrift?arch=source&distro=jammy
Affected versions
=0.13.0-6ubuntu1=0.13.0-6ubuntu2=0.13.0-6ubuntu3=0.13.0-7=0.16.0-2
Ubuntu:24.04:LTSmore threats →ghsa
thrift
pkg:deb/ubuntu/thrift?arch=source&distro=noble
Affected versions
=0.17.0-4=0.19.0-2=0.19.0-2build1=0.19.0-2.1build4=0.19.0-2.1build5
Ubuntu:26.10more threats →ghsa
thrift
pkg:deb/ubuntu/thrift?arch=source&distro=stonking
Affected versions
=0.22.0-3ubuntu1=0.23.0-3=0.23.0-3ubuntu1
Ubuntu:26.04:LTSmore threats →ghsa
thrift
pkg:deb/ubuntu/thrift?arch=source&distro=resolute
Affected versions
=0.19.0-4build1=0.22.0-3=0.22.0-3ubuntu1

Run 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

AILast updated: 10/17/2026, 23:27:01 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses