CVE catalog

CVE-2018-9127

botan: CVE-2018-9127

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.93% · Oct 27, 2026

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.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianbotantrixie2.19.5+dfsg-4fixed
Debianbotanbookworm2.19.3+dfsg-1+deb12u1fixed
Alpinebotan3.112.5.0-r0fixed
Alpinebotan3.122.5.0-r0fixed
Alpinebotan3.132.5.0-r0fixed
Alpinebotan3.142.5.0-r0fixed
Alpinebotan3.152.5.0-r0fixed
Alpinebotan3.162.5.0-r0fixed
Alpinebotan3.172.5.0-r0fixed
Alpinebotan3.182.5.0-r0fixed
Alpinebotan3.192.5.0-r0fixed
Alpinebotan3.202.5.0-r0fixed
Alpinebotan3.212.5.0-r0fixed
Ubuntubotan20.042.9.0-2vulnerable
Ubuntubotan20.042.9.0-2build1vulnerable
Ubuntubotan20.042.12.1-2vulnerable
Ubuntubotan20.042.12.1-2build1vulnerable
Ubuntubotanpro2.17.3+dfsg-3vulnerable
Ubuntubotanpro2.19.1+dfsg-2ubuntu1vulnerable
Ubuntubotanpro2.19.1+dfsg-2ubuntu1+esm1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbotansourcetrixie2.4.0-5not yet assignedNot reported[894648]
Debianbotansourcebookworm2.4.0-5not yet assignedNot reported[894648]
Alpinebotanapk3.112.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.122.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.132.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.142.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.152.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.162.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.172.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.182.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.192.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.202.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported
Alpinebotanapk3.212.5.0-r0Not reportedALPINE-CVE-2018-9127Not reported

[Debian bug #894648]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [botan]Unknown
    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

  • [libbotan-2-19]Unknown

    Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

  • Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

  • Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

  • [python3-botan]Unknown

    Source package: [botan]

    Details (2)
    • 2.19.3+dfsg-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

    • 2.19.3+dfsg-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · bookworm; dsa · botan · debian · 12

[Debian 13 (Trixie)]

  • [botan]Unknown

    Source package: [botan3]

    Details (4)
    • 3.7.1+dfsg-2 · amd64 · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

    • 3.7.1+dfsg-2 · arm64 · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

    • 3.12.0+dfsg-2~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

  • [libbotan-2-19]Unknown

    Source package: [botan]

    Details (2)
    • 2.19.5+dfsg-4 · amd64 · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

    • 2.19.5+dfsg-4 · arm64 · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

  • Source package: [botan]

    Details (2)
    • 2.19.5+dfsg-4 · amd64 · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

    • 2.19.5+dfsg-4 · arm64 · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

  • Source package: [botan]

    Details (2)
    • 2.19.5+dfsg-4 · all · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

    • 2.19.5+dfsg-4 · all · trixie

      Fixed · Fixed: 2.4.0-5

      dsa · botan · debian · 13

Observed:

References