UBUNTU-CVE-2026-32877

Source
https://ubuntu.com/security/CVE-2026-32877
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32877.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-32877
Upstream
Published
2026-03-30T21:17:00Z
Modified
2026-05-20T16:25:23Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Botan is a C++ cryptography library. From version 2.3.0 to before version 3.11.0, during SM2 decryption, the code that checked the authentication code value (C3) failed to check that the encoded value was of the expected length prior to comparison. An invalid ciphertext can cause a heap over-read of up to 31 bytes, resulting in a crash or potentially other undefined behavior. This issue has been patched in version 3.11.0.

References

Affected packages

Ubuntu:16.04:LTS
botan1.10

Package

Name
botan1.10
Purl
pkg:deb/ubuntu/botan1.10?arch=source&distro=xenial

Affected ranges

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

Affected versions

1.*
1.10.10-6
1.10.12-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbotan-1.10-1",
            "binary_version": "1.10.12-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32877.json"
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-32877.json"
botan1.10

Package

Name
botan1.10
Purl
pkg:deb/ubuntu/botan1.10?arch=source&distro=bionic

Affected ranges

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

Affected versions

1.*
1.10.16-1
1.10.17-0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbotan-1.10-1",
            "binary_version": "1.10.17-0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32877.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-32877.json"
Ubuntu:25.10
botan

Package

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

Affected ranges

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

Affected versions

2.*
2.19.5+dfsg-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbotan-2-19",
            "binary_version": "2.19.5+dfsg-4"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.7.1+dfsg-2

Ecosystem specific

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

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32877.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-32877.json"
Ubuntu:Pro:14.04:LTS
botan1.10

Package

Name
botan1.10
Purl
pkg:deb/ubuntu/botan1.10?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

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

Affected versions

1.*
1.10.5-1
1.10.5-1ubuntu1
1.10.5-1+deb7u1ubuntu0.14.04.1
1.10.5-1+deb7u1ubuntu0.14.04.1+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbotan-1.10-0",
            "binary_version": "1.10.5-1+deb7u1ubuntu0.14.04.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32877.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-32877.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-32877.json"