Skip to content
Heist/ feed
Back to feed
Medium

thrift — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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 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

Products
thrift
Affected versions
0.11.0-6, 0.13.0-2build1, 0.13.0-2build2, 0.13.0-6ubuntu1, 0.13.0-6ubuntu2, 0.13.0-6ubuntu3, 0.13.0-7, 0.16.0-2, 0.17.0-4, 0.19.0-2, 0.19.0-2.1build4, 0.19.0-2.1build5, 0.19.0-2build1, 0.19.0-4build1, 0.22.0-3, 0.22.0-3ubuntu1, 0.23.0-3, 0.23.0-3ubuntu1
Fixed versions
Not specified
CVEs
CVE-2026-85088
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:23 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-85088

core-osv · Original source

Published 2 Oct 2026, 12:17 UTC

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

osv:UBUNTU-CVE-2026-85088

thrift

Fixed versions: Not specified

thrift

Fixed versions: Not specified

thrift

Fixed versions: Not specified

thrift

Fixed versions: Not specified

thrift

Fixed versions: Not specified

Complete source record
{
  "id": "7917832be1f55ec83bec46b5897e8ce97d61cce1429d4b0678d7a7c3eaf0d78e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-85088",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-85088",
    "summary": "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 ",
    "evidence": "osv:UBUNTU-CVE-2026-85088",
    "products": [
      {
        "name": {
          "value": "thrift",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.0-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0-2build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0-2build2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "thrift",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.13.0-6ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-6ubuntu2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-6ubuntu3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-7",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.16.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "thrift",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.17.0-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.19.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.19.0-2build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.19.0-2.1build4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.19.0-2.1build5",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "thrift",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.22.0-3ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.23.0-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.23.0-3ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "thrift",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.19.0-4build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.22.0-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.22.0-3ubuntu1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-85088",
      "aliases": [
        "UBUNTU-CVE-2026-85088"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "thrift",
            "purl": "pkg:deb/ubuntu/thrift?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.11.0-6",
            "0.13.0-2build1",
            "0.13.0-2build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85088.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-thrift-dev",
                "binary_version": "0.13.0-2build2"
              },
              {
                "binary_name": "libthrift-0.13.0",
                "binary_version": "0.13.0-2build2"
              },
              {
                "binary_name": "libthrift-c-glib0",
                "binary_version": "0.13.0-2build2"
              },
              {
                "binary_name": "libthrift-perl",
                "binary_version": "0.13.0-2build2"
              },
              {
                "binary_name": "php-thrift",
                "binary_version": "0.13.0-2build2"
              },
              {
                "binary_name": "python3-thrift",
                "binary_version": "0.13.0-2build2"
              },
              {
                "binary_name": "thrift-compiler",
                "binary_version": "0.13.0-2build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "thrift",
            "purl": "pkg:deb/ubuntu/thrift?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.13.0-6ubuntu1",
            "0.13.0-6ubuntu2",
            "0.13.0-6ubuntu3",
            "0.13.0-7",
            "0.16.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85088.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-thrift-dev",
                "binary_version": "0.16.0-2"
              },
              {
                "binary_name": "libthrift-0.16.0",
                "binary_version": "0.16.0-2"
              },
              {
                "binary_name": "libthrift-c-glib0",
                "binary_version": "0.16.0-2"
              },
              {
                "binary_name": "libthrift-perl",
                "binary_version": "0.16.0-2"
              },
              {
                "binary_name": "php-thrift",
                "binary_version": "0.16.0-2"
              },
              {
                "binary_name": "python3-thrift",
                "binary_version": "0.16.0-2"
              },
              {
                "binary_name": "thrift-compiler",
                "binary_version": "0.16.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "thrift",
            "purl": "pkg:deb/ubuntu/thrift?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.17.0-4",
            "0.19.0-2",
            "0.19.0-2build1",
            "0.19.0-2.1build4",
            "0.19.0-2.1build5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85088.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-thrift-dev",
                "binary_version": "0.19.0-2.1build5"
              },
              {
                "binary_name": "libthrift-0.19.0t64",
                "binary_version": "0.19.0-2.1build5"
              },
              {
                "binary_name": "libthrift-c-glib0t64",
                "binary_version": "0.19.0-2.1build5"
              },
              {
                "binary_name": "libthrift-perl",
                "binary_version": "0.19.0-2.1build5"
              },
              {
                "binary_name": "php-thrift",
                "binary_version": "0.19.0-2.1build5"
              },
              {
                "binary_name": "python3-thrift",
                "binary_version": "0.19.0-2.1build5"
              },
              {
                "binary_name": "thrift-compiler",
                "binary_version": "0.19.0-2.1build5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "thrift",
            "purl": "pkg:deb/ubuntu/thrift?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.22.0-3ubuntu1",
            "0.23.0-3",
            "0.23.0-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85088.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-thrift-dev",
                "binary_version": "0.23.0-3ubuntu1"
              },
              {
                "binary_name": "libthrift-0.23.0",
                "binary_version": "0.23.0-3ubuntu1"
              },
              {
                "binary_name": "libthrift-c-glib0t64",
                "binary_version": "0.23.0-3ubuntu1"
              },
              {
                "binary_name": "libthrift-perl",
                "binary_version": "0.23.0-3ubuntu1"
              },
              {
                "binary_name": "php-thrift",
                "binary_version": "0.23.0-3ubuntu1"
              },
              {
                "binary_name": "python3-thrift",
                "binary_version": "0.23.0-3ubuntu1"
              },
              {
                "binary_name": "thrift-compiler",
                "binary_version": "0.23.0-3ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "thrift",
            "purl": "pkg:deb/ubuntu/thrift?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.19.0-4build1",
            "0.22.0-3",
            "0.22.0-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85088.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-thrift-dev",
                "binary_version": "0.22.0-3ubuntu1"
              },
              {
                "binary_name": "libthrift-0.22.0",
                "binary_version": "0.22.0-3ubuntu1"
              },
              {
                "binary_name": "libthrift-c-glib0t64",
                "binary_version": "0.22.0-3ubuntu1"
              },
              {
                "binary_name": "libthrift-perl",
                "binary_version": "0.22.0-3ubuntu1"
              },
              {
                "binary_name": "php-thrift",
                "binary_version": "0.22.0-3ubuntu1"
              },
              {
                "binary_name": "python3-thrift",
                "binary_version": "0.22.0-3ubuntu1"
              },
              {
                "binary_name": "thrift-compiler",
                "binary_version": "0.22.0-3ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:13.444820435Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-85088"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-85088",
        "https://www.cve.org/CVERecord?id=CVE-2026-85088",
        "https://lists.apache.org/thread/zcgm7lx6037lvgvn87rc1tj3p0zhv371",
        "https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-85088",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361295,
  "published_at": "2026-10-02T12:17:00+00:00"
}