CVE-2015-7826: Critical severity botan vulnerability

Published Feb 24, 2016
·
Updated

botan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers to have unspecified impact via a valid X.509 certificate, as demonstrated by accepting .example.com as a match for bar.foo.example.com.

Other sources

RFC 6125 specifies how to match a X.509v3 certificate against a DNS name for application usage.

Otherwise valid certificates using wildcards would be accepted as matching certain hostnames they should not according to RFC 6125. For example a certificate issued for ‘.example.com’ should match ‘foo.example.com’ but not ‘example.com’ or ‘bar.foo.example.com’. Previously Botan would accept such a certificate as valid for ‘bar.foo.example.com’.

RFC 6125 also requires that when matching a X.509 certificate against a DNS name, the CN entry is only compared if no subjectAlternativeName entry is available. Previously X509Certificate::matchesdnsname would always check both names.

External references:

http://botan.randombit.net/security.html

Red Hat

Affected Software

2 affected componentsFixes available
redhat/botan<1.11.22
1.11.22
Botan Project Botan<=1.11.21

Event History

Feb 24, 2016
Data Sourced
via Red Hat·03:38 PM
DescriptionSeverityAffected Software
Apr 10, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-7826?

CVE-2015-7826 has a medium severity due to improper handling of wildcard matching against hostnames.

2

How do I fix CVE-2015-7826?

To mitigate CVE-2015-7826, update Botan to version 1.11.22 or later.

3

What versions of Botan are affected by CVE-2015-7826?

Botan versions prior to 1.11.22, specifically up to version 1.11.21, are affected by CVE-2015-7826.

4

What type of attacks does CVE-2015-7826 enable?

CVE-2015-7826 may allow remote attackers to exploit improper wildcard certificate validation.

5

What is the impact of CVE-2015-7826 on X.509 certificate validation?

CVE-2015-7826 can lead to security vulnerabilities in X.509 certificate validation by accepting incorrect hostname matches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203