๐Ÿ” CVE Alert

CVE-2026-48057

UNKNOWN 0.0

Botan: directoryName nameConstraint bypass via multi-AVA RDN flattening in matches_dn

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

Botan is a C++ cryptography library. Prior to 3.13.0, Botan's X.509 Distinguished Name decoder flattens the Attribute-Value Assertions in each Relative Distinguished Name and loses multi-value RDN grouping before DN name-constraint enforcement. An attacker controlling a name-constrained intermediate CA can issue a certificate with a multi-value RDN whose first Common Name matches the permitted constraint and whose second Common Name is attacker-chosen, causing the constraint check to accept the flattened first value. If the certificate contains no subjectAlternativeName extension, the second Common Name can then be accepted as a hostname; Botan does not fall back to Common Name hostname matching when any subjectAlternativeName is present. The exposure is limited to deployments using DN name constraints, which are uncommon outside internal PKIs, and to certificates without a subjectAlternativeName. This issue is fixed in version 3.13.0.

CWE CWE-295 CWE-1023
Vendor randombit
Product botan
Published Nov 6, 2026
Stay Ahead of the Next One

Get instant alerts for randombit botan

Be the first to know when new unknown vulnerabilities affecting randombit botan are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

randombit / botan
< 3.13.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/randombit/botan/security/advisories/GHSA-3mh2-26h4-wrqc github.com: https://github.com/randombit/botan/pull/5618 github.com: https://github.com/randombit/botan/commit/a22260c368373a134ff9778b9d8781edb2e1eb99