botan3 — security advisory
Botan is a C++ cryptography library. Prior to 3.12.0, certain patterns of indefinite length encodings in BER data could cause quadratic behavior in the parser, resulting in a denial of service. Such BER encodings were accepted even in structures which are required to be encoded as DER, which prohibits indefinite length encodings. This vulnerability is fixed in 3.12.0.
- Products
- botan3
- Affected versions
- 3.10.0+dfsg-2, 3.11.1+dfsg-2, 3.12.0+dfsg-2, 3.7.1+dfsg-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-44378
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:04 UTC · Revision 1
Source evidence
Botan is a C++ cryptography library. Prior to 3.12.0, certain patterns of indefinite length encodings in BER data could cause quadratic behavior in the parser, resulting in a denial of service. Such BER encodings were accepted even in structures which are required to be encoded as DER, which prohibits indefinite length encodings. This vulnerability is fixed in 3.12.0.
osv:UBUNTU-CVE-2026-44378
botan3
Fixed versions: Not specified
botan3
Fixed versions: Not specified
botan3
Fixed versions: Not specified
Complete source record
{
"id": "f2a159e648c034a3229ce6dd7fe10e6aae9a118d498625b9623844dbed9cb755",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-44378",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-44378",
"summary": "Botan is a C++ cryptography library. Prior to 3.12.0, certain patterns of indefinite length encodings in BER data could cause quadratic behavior in the parser, resulting in a denial of service. Such BER encodings were accepted even in structures which are required to be encoded as DER, which prohibits indefinite length encodings. This vulnerability is fixed in 3.12.0.",
"evidence": "osv:UBUNTU-CVE-2026-44378",
"products": [
{
"name": {
"value": "botan3",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.7.1+dfsg-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "botan3",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.10.0+dfsg-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.11.1+dfsg-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.12.0+dfsg-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "botan3",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.7.1+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "3.10.0+dfsg-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-44378",
"aliases": [
"UBUNTU-CVE-2026-44378"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "botan3",
"purl": "pkg:deb/ubuntu/botan3?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.7.1+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44378.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "botan3",
"purl": "pkg:deb/ubuntu/botan3?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.10.0+dfsg-2",
"3.11.1+dfsg-2",
"3.12.0+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44378.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "botan3",
"purl": "pkg:deb/ubuntu/botan3?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.7.1+dfsg-2",
"3.10.0+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44378.json"
},
"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"
}
]
}
}
],
"modified": "2026-10-17T13:00:07.737466860Z",
"provider": "osv",
"upstream": [
"CVE-2026-44378"
],
"references": [
"https://ubuntu.com/security/CVE-2026-44378",
"https://www.cve.org/CVERecord?id=CVE-2026-44378",
"https://github.com/randombit/botan/security/advisories/GHSA-7q2v-3g27-6g3j"
]
},
"related_cves": [
{
"value": "CVE-2026-44378",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 360331,
"published_at": "2026-05-27T18:16:00+00:00"
}