CVE-2026-32884

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*

History

13 Apr 2026, 13:52

Type Values Removed Values Added
References () https://github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5 - () https://github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5 - Vendor Advisory
CPE cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*
First Time Botan Project botan
Botan Project

01 Apr 2026, 14:24

Type Values Removed Values Added
Summary
  • (es) Botan es una biblioteca de criptografía C++. Antes de la versión 3.11.0, durante el procesamiento de una ruta de certificado X.509 utilizando restricciones de nombre que restringen el conjunto de nombres DNS permitidos, si no se define un nombre alternativo del sujeto en el certificado de entidad final, Botan verificaría que el CN estaba permitido por las restricciones de nombre DNS, aunque esta verificación técnicamente no es requerida por el RFC 5280. Sin embargo, esta verificación no tuvo en cuenta la posibilidad de un CN con mayúsculas y minúsculas. Así, un certificado con CN=Sub.EVIL.COM y sin nombre alternativo del sujeto eludiría una restricción de excludedSubtrees para evil.com porque la comparación distingue entre mayúsculas y minúsculas. Este problema ha sido parcheado en la versión 3.11.0.

30 Mar 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-30 21:17

Updated : 2026-04-13 13:52


NVD link : CVE-2026-32884

Mitre link : CVE-2026-32884

CVE.ORG link : CVE-2026-32884


JSON object : View

Products Affected

botan_project

  • botan
CWE
CWE-295

Improper Certificate Validation