Prior to 3.13.0, Botan's X.509 Distinguished Name decoder flattens the Attribute-Value Assertions in each Relative
Affects botanSource GCVE Database
Not known to be exploited · CVSS 2.1 Low · fixed in 3.13.0 : update botan when convenient.
Data as of 18 Nov 2026, 15:19 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 2.1 |
|---|
- Patch
- Available – fixed in 3.13.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10botan3pkg:deb/ubuntu/botan3?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSbotan3pkg:deb/ubuntu/botan3?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-48057 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-48057 (opens in a new tab)
- github.com/randombit/botan/security/advisories/GHSA-3mh2-26h4-wrqc (opens in a new tab)
- github.com/randombit/botan/pull/5618 (opens in a new tab)
- github.com/randombit/botan/commit/a22260c368373a134ff9778b9d8781edb2e1eb99 (opens in a new tab)