Vulnerabilities / CVE-2018-9127

critical

CVE-2018-9127

Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certi ...

Published Modified CWE 295
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD.

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.10botan2.5.0-r0
alpine 3.11botan2.5.0-r0
alpine 3.12botan2.5.0-r0
alpine 3.13botan2.5.0-r0
alpine 3.14botan2.5.0-r0
alpine 3.15botan2.5.0-r0
alpine 3.16botan2.5.0-r0
alpine 3.17botan2.5.0-r0
alpine 3.18botan2.5.0-r0
alpine 3.19botan2.5.0-r0
alpine 3.20botan2.5.0-r0
alpine 3.21botan2.5.0-r0
Show all 18 entries from 18 sources
SourcePackageFixed in
alpine 3.10botan2.5.0-r0
alpine 3.11botan2.5.0-r0
alpine 3.12botan2.5.0-r0
alpine 3.13botan2.5.0-r0
alpine 3.14botan2.5.0-r0
alpine 3.15botan2.5.0-r0
alpine 3.16botan2.5.0-r0
alpine 3.17botan2.5.0-r0
alpine 3.18botan2.5.0-r0
alpine 3.19botan2.5.0-r0
alpine 3.20botan2.5.0-r0
alpine 3.21botan2.5.0-r0
debian 11botan2.4.0-5
debian 12botan2.4.0-5
debian 13botan2.4.0-5
echobotan2.4.0-5
root.io alpine 3.19rootio-botan2.5.0-r0
root.io alpine 3.20rootio-botan2.5.0-r0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.