CVE-2026-32884

NameCVE-2026-32884
DescriptionBotan 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
botan (PTS)bullseye2.17.3+dfsg-2vulnerable
bookworm2.19.3+dfsg-1+deb12u1vulnerable
trixie2.19.5+dfsg-4vulnerable
botan3 (PTS)trixie3.7.1+dfsg-2vulnerable
forky, sid3.11.1+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
botansource(unstable)(unfixed)
botan3sourceexperimental3.11.0+dfsg-1
botan3source(unstable)3.11.0+dfsg-2

Notes

https://github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5

Search for package or bug name: Reporting problems