UBUNTU-CVE-2026-48057

Source
https://ubuntu.com/security/CVE-2026-48057
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-48057
Upstream
Published
2026-11-09T00:00:00Z
Modified
2026-11-10T02:50:46Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:18.04:LTS
botan

Package

Name
botan
Purl
pkg:deb/ubuntu/botan?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.4.0-3
2.4.0-4
2.4.0-5ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "botan",
            "binary_version": "2.4.0-5ubuntu1"
        },
        {
            "binary_name": "libbotan-2-4",
            "binary_version": "2.4.0-5ubuntu1"
        },
        {
            "binary_name": "python3-botan",
            "binary_version": "2.4.0-5ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json"
Ubuntu:20.04:LTS
botan

Package

Name
botan
Purl
pkg:deb/ubuntu/botan?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.9.0-2
2.9.0-2build1
2.12.1-2
2.12.1-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "botan",
            "binary_version": "2.12.1-2build1"
        },
        {
            "binary_name": "libbotan-2-12",
            "binary_version": "2.12.1-2build1"
        },
        {
            "binary_name": "python3-botan",
            "binary_version": "2.12.1-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json"
Ubuntu:26.04:LTS
botan3

Package

Name
botan3
Purl
pkg:deb/ubuntu/botan3?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.7.1+dfsg-2
3.10.0+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "botan",
            "binary_version": "3.10.0+dfsg-2"
        },
        {
            "binary_name": "libbotan-3-10",
            "binary_version": "3.10.0+dfsg-2"
        },
        {
            "binary_name": "python3-botan",
            "binary_version": "3.10.0+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json"
Ubuntu:26.10
botan3

Package

Name
botan3
Purl
pkg:deb/ubuntu/botan3?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.10.0+dfsg-2
3.11.1+dfsg-2
3.12.0+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "botan",
            "binary_version": "3.12.0+dfsg-2"
        },
        {
            "binary_name": "libbotan-3-12",
            "binary_version": "3.12.0+dfsg-2"
        },
        {
            "binary_name": "python3-botan",
            "binary_version": "3.12.0+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json"
Ubuntu:Pro:22.04:LTS
botan

Package

Name
botan
Purl
pkg:deb/ubuntu/botan?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.17.3+dfsg-3
2.19.1+dfsg-2ubuntu1
2.19.1+dfsg-2ubuntu1+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "botan",
            "binary_version": "2.19.1+dfsg-2ubuntu1+esm1"
        },
        {
            "binary_name": "libbotan-2-19",
            "binary_version": "2.19.1+dfsg-2ubuntu1+esm1"
        },
        {
            "binary_name": "python3-botan",
            "binary_version": "2.19.1+dfsg-2ubuntu1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json"
Ubuntu:Pro:24.04:LTS
botan

Package

Name
botan
Purl
pkg:deb/ubuntu/botan?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.19.3+dfsg-1ubuntu1
2.19.3+dfsg-1ubuntu2
2.19.3+dfsg-1ubuntu2+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "botan",
            "binary_version": "2.19.3+dfsg-1ubuntu2+esm1"
        },
        {
            "binary_name": "libbotan-2-19",
            "binary_version": "2.19.3+dfsg-1ubuntu2+esm1"
        },
        {
            "binary_name": "python3-botan",
            "binary_version": "2.19.3+dfsg-1ubuntu2+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48057.json"