Skip to content
Heist/ feed
Back to feed
CriticalFix available

botan — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-9127

Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as valid for hostnames when, under RFC 6125 rules, they should not match. This only affects certificates issued to the same domain as the host, so to impersonate a host one must already have a wildcard certificate matching other hosts in the same domain. For example, b*.example.com would match some hostnames that do not begin with a 'b' character.

Products
botan
Affected versions
Not specified
Fixed versions
2.4.0-5
CVEs
CVE-2018-9127
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:17 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-9127

core-osv · Original source

Published 2 Apr 2018, 17:29 UTC

Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as valid for hostnames when, under RFC 6125 rules, they should not match. This only affects certificates issued to the same domain as the host, so to impersonate a host one must already have a wildcard certificate matching other hosts in the same domain. For example, b*.example.com would match some hostnames that do not begin with a 'b' character.

osv:DEBIAN-CVE-2018-9127

botan

Fixed versions: 2.4.0-5

botan

Fixed versions: 2.4.0-5

Complete source record
{
  "id": "7acd547e8a45a36355a43502cfc3cd9362681acf4304d6e5518cf310738065b0",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-9127",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-9127",
    "summary": "Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as valid for hostnames when, under RFC 6125 rules, they should not match. This only affects certificates issued to the same domain as the host, so to impersonate a host one must already have a wildcard certificate matching other hosts in the same domain. For example, b*.example.com would match some hostnames that do not begin with a 'b' character.",
    "evidence": "osv:DEBIAN-CVE-2018-9127",
    "products": [
      {
        "name": {
          "value": "botan",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.0-5",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "botan",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.0-5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2018-9127",
      "aliases": [
        "DEBIAN-CVE-2018-9127"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.0-5"
                }
              ]
            }
          ],
          "package": {
            "name": "botan",
            "purl": "pkg:deb/debian/botan?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-9127.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.0-5"
                }
              ]
            }
          ],
          "package": {
            "name": "botan",
            "purl": "pkg:deb/debian/botan?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-9127.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:09.859632833Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-9127"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-9127"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-9127",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420648,
  "published_at": "2018-04-02T17:29:00.387+00:00"
}