CVE catalog

CVE-2026-85088

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

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.17% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianthriftsid0.24.0-3vulnerable
Debianthriftforky0.24.0-3vulnerable
Debianthrifttrixie0.19.0-4vulnerable
Debianthriftbookworm0.17.0-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianthriftsourcesid(unfixed)not yet assignedNot reported[1150191]
Debianthriftsourceforky(unfixed)not yet assignedNot reported[1150191]
Debianthriftsourcetrixie(unfixed)not yet assignedNot reported[1150191]
Debianthriftsourcebookworm(unfixed)not yet assignedNot reported[1150191]

[Debian bug #1150191]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • [libthrift-dev]Affected

    Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • [libthrift-perl]Affected

    Source package: [thrift]

    Details (2)
    • 0.17.0-2 · all · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2 · all · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • [php-thrift]Affected

    Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • [python3-thrift]Affected

    Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

  • [thrift-compiler]Affected

    Source package: [thrift]

    Details (2)
    • 0.17.0-2+b2 · amd64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

    • 0.17.0-2+b2 · arm64 · bookworm

      Affected

      nvd · thrift · debian · bookworm; nvd · thrift · debian · 12

[Debian 13 (Trixie)]

  • Source package: [thrift]

    Details (2)
    • 0.19.0-4 · all · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4 · all · trixie

      Affected

      nvd · thrift · debian · 13

  • Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

  • Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

  • Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

  • [libthrift-dev]Affected

    Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

  • [libthrift-perl]Affected

    Source package: [thrift]

    Details (2)
    • 0.19.0-4 · all · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4 · all · trixie

      Affected

      nvd · thrift · debian · 13

  • [php-thrift]Affected

    Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

  • [python3-thrift]Affected

    Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

  • [thrift-compiler]Affected

    Source package: [thrift]

    Details (2)
    • 0.19.0-4+b1 · amd64 · trixie

      Affected

      nvd · thrift · debian · 13

    • 0.19.0-4+b1 · arm64 · trixie

      Affected

      nvd · thrift · debian · 13

Observed:

References