همهٔ گزارش‌ها
متوسط

Botan: Botan: Certificate validation bypass due to mixed-case Common Name in X.509 certificates

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-32884

احتمال بهره‌برداری در ۳۰ روز آینده: 0.17%

FIRST EPSS · ۱۴۰۵/۰۸/۳۰

شرح آسیب‌پذیری

Botan is a C++ cryptography library. Prior to version 3.11.0, during processing of an X.509 certificate path using name constraints which restrict the set of allowable DNS names, if no subject alternative name is defined in the end-entity certificate Botan would check that the CN was allowed by the DNS name constraints, even though this check is technically not required by RFC 5280. However this check failed to account for the possibility of a mixed-case CN. Thus a certificate with CN=Sub.EVIL.COM and no subject alternative name would bypasses an excludedSubtrees constraint for evil.com because the comparison is case-sensitive. This issue has been patched in version 3.11.0.

A flaw was found in Botan, a C++ cryptography library. During the processing of X.509 certificate paths with DNS name constraints, the library incorrectly handles mixed-case Common Names (CN) in end-entity certificates that lack a Subject Alternative Name. A remote attacker could exploit this by crafting a malicious certificate with a mixed-case CN to bypass excludedSubtrees constraints. This vulnerability could lead to a certificate validation bypass, allowing an attacker to present a certificate that should have been rejected.