{"id":"CVE-2018-9127","aliases":["ALPINE-CVE-2018-9127","DEBIAN-CVE-2018-9127","EUVD-2018-20727","GHSA-r872-mggq-8gfh","UBUNTU-CVE-2018-9127","openSUSE-SU-2024:10594-1"],"status":"published","title":"Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0093,"percentile":0.60861,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2018-04-02T17:00:00Z","modified":"2026-11-03T06:32:34Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"botan","fixed_in":["2.5.0-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"botan","fixed_in":["2.4.0-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"botan","fixed_in":["2.4.0-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.5.0-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-5"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.0-2","2.9.0-2build1","2.12.1-2","2.12.1-2build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.17.3+dfsg-3","2.19.1+dfsg-2ubuntu1","2.19.1+dfsg-2ubuntu1+esm1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"Botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-1.3"}]}],"bundled":7}],"products":[{"vendor":"botan_project","product":"botan"}],"references":[{"url":"https://botan.randombit.net/security.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9127"},{"url":"https://github.com/advisories/GHSA-r872-mggq-8gfh"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-9127","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-9127","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-9127","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-9127","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14737","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2801","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12435","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20187","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9127","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9860","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-9127","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.","status":"published","published":"2018-04-02T17:00:00Z","modified":"2024-08-05T07:17:51.054Z","updated_at":"2026-11-02T14:35:02.603326Z"}],"euvd":[{"id":"EUVD-2018-20727","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.","status":"published","published":"2018-04-02T17:00:00Z","modified":"2024-08-05T07:17:51Z","updated_at":"2026-11-03T02:40:00.889185Z"}],"ghsa":[{"id":"GHSA-r872-mggq-8gfh","title":"Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept...","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.","status":"published","published":"2022-05-14T03:23:44Z","modified":"2023-02-02T05:08:10Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:52:40.925332Z"}],"nvd":[{"id":"CVE-2018-9127","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.","status":"published","published":"2018-04-02T17:29:00.387Z","modified":"2026-06-17T02:06:07.187Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:04:24.700429Z"}],"osv":[{"id":"ALPINE-CVE-2018-9127","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.","status":"published","published":"2018-04-02T17:29:00.387Z","modified":"2026-11-03T06:32:34.705367139Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T07:17:20.312441Z"},{"id":"CVE-2018-9127","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.","status":"published","published":"2018-04-02T17:29:00.387Z","modified":"2026-10-24T10:30:44.209862026Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:10.051046Z"},{"id":"DEBIAN-CVE-2018-9127","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.","status":"published","published":"2018-04-02T17:29:00.387Z","modified":"2026-10-23T18:03:09.859632833Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:31.170944Z"},{"id":"UBUNTU-CVE-2018-9127","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.","status":"published","published":"2018-04-02T17:29:00Z","modified":"2026-04-22T12:04:37.264797Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"openSUSE-SU-2024:10594-1","title":"Botan-2.18.1-1.3 on GA media","description":"These are all security issues fixed in the Botan-2.18.1-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:20:29.939433Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
