
CVE catalog
CVE-2026-48057
botan affected and fixed versions
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.
- Severity
- Low · CVSS 2.1
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Nov 19, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | botan | Not reported | AffectedDistribution reports no fix | [CVE-2026-48057] |
| Debiantrixie | botan | 2.19.5+dfsg-4 | Affected | [CVE-2026-48057] |
| Ubuntupro | botan | 2.19.3+dfsg-1ubuntu1 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntupro | botan | 2.19.3+dfsg-1ubuntu2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntupro | botan | 2.19.3+dfsg-1ubuntu2+esm1 | Affected | [UBUNTU-CVE-2026-48057] |
| Debianbookworm | botan | Not reported | AffectedDistribution reports no fix | [CVE-2026-48057] |
| Debianbookworm | botan | 2.19.3+dfsg-1+deb12u1 | Affected | [CVE-2026-48057] |
| Ubuntu26.10 | botan3 | 3.10.0+dfsg-2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu26.10 | botan3 | 3.11.1+dfsg-2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu26.10 | botan3 | 3.12.0+dfsg-2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu26.04 | botan3 | 3.10.0+dfsg-2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu26.04 | botan3 | 3.7.1+dfsg-2 | Affected | [UBUNTU-CVE-2026-48057] |
More observations (7)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Ubuntu18.04 | botan | 2.4.0-3 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu18.04 | botan | 2.4.0-4 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu18.04 | botan | 2.4.0-5ubuntu1 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu20.04 | botan | 2.12.1-2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu20.04 | botan | 2.12.1-2build1 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu20.04 | botan | 2.9.0-2 | Affected | [UBUNTU-CVE-2026-48057] |
| Ubuntu20.04 | botan | 2.9.0-2build1 | Affected | [UBUNTU-CVE-2026-48057] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [botan]Affected
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
- [libbotan-2-19]Affected
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
- [libbotan-2-dev]Affected
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
- [libbotan-2-doc]Affected
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· all · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
2.19.3+dfsg-1+deb12u1· all · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
- [python3-botan]Affected
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormAffected
dsa · botan · debian · bookworm; pypi · botan · debian · 12
[Debian 13 (Trixie)]
- [botan]Affected
Source package: [botan3]
Details (4)
3.7.1+dfsg-2· amd64 · trixieAffected
pypi · botan · debian · 13; pypi · botan3 · debian · 13
3.7.1+dfsg-2· arm64 · trixieAffected
pypi · botan · debian · 13; pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· amd64 · trixie-securityAffected
pypi · botan · debian · 13; pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· arm64 · trixie-securityAffected
pypi · botan · debian · 13; pypi · botan3 · debian · 13
- [libbotan-2-19]Affected
Source package: [botan]
Details (2)
2.19.5+dfsg-4· amd64 · trixieAffected
pypi · botan · debian · 13
2.19.5+dfsg-4· arm64 · trixieAffected
pypi · botan · debian · 13
- [libbotan-2-dev]Affected
Source package: [botan]
Details (2)
2.19.5+dfsg-4· amd64 · trixieAffected
pypi · botan · debian · 13
2.19.5+dfsg-4· arm64 · trixieAffected
pypi · botan · debian · 13
- [libbotan-2-doc]Affected
Source package: [botan]
Details (2)
2.19.5+dfsg-4· all · trixieAffected
pypi · botan · debian · 13
2.19.5+dfsg-4· all · trixieAffected
pypi · botan · debian · 13
- [libbotan-3-12]Affected
Source package: [botan3]
Details (2)
3.12.0+dfsg-2~deb13u1· amd64 · trixie-securityAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· arm64 · trixie-securityAffected
pypi · botan3 · debian · 13
- [libbotan-3-7]Affected
Source package: [botan3]
Details (2)
3.7.1+dfsg-2· amd64 · trixieAffected
pypi · botan3 · debian · 13
3.7.1+dfsg-2· arm64 · trixieAffected
pypi · botan3 · debian · 13
- [libbotan-3-dev]Affected
Source package: [botan3]
Details (4)
3.7.1+dfsg-2· amd64 · trixieAffected
pypi · botan3 · debian · 13
3.7.1+dfsg-2· arm64 · trixieAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· amd64 · trixie-securityAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· arm64 · trixie-securityAffected
pypi · botan3 · debian · 13
- [libbotan-3-doc]Affected
Source package: [botan3]
Details (4)
3.7.1+dfsg-2· all · trixieAffected
pypi · botan3 · debian · 13
3.7.1+dfsg-2· all · trixieAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· all · trixie-securityAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· all · trixie-securityAffected
pypi · botan3 · debian · 13
- [python3-botan]Affected
Source package: [botan3]
Details (4)
3.7.1+dfsg-2· amd64 · trixieAffected
pypi · botan3 · debian · 13
3.7.1+dfsg-2· arm64 · trixieAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· amd64 · trixie-securityAffected
pypi · botan3 · debian · 13
3.12.0+dfsg-2~deb13u1· arm64 · trixie-securityAffected
pypi · botan3 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/randombit/botan/commit/a22260c368373a134ff9778b9d8781edb2e1eb99]
- [https://github.com/randombit/botan/pull/5618]
- [https://github.com/randombit/botan/security/advisories/GHSA-3mh2-26h4-wrqc]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-48057]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-48057]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-48057]
- [https://security-tracker.debian.org/tracker/CVE-2026-48057]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]