botan, oscar — security advisory
Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.
- Products
- botan, oscar
- Affected versions
- 1.1.0-testing-3-1, 1.1.0-testing-3-2, 1.1.0-testing-3-3, 1.1.0-testing-3-3build1, 1.2.0-1, 1.3.0-1, 1.3.1-1, 1.4.0-1, 1.5.1-1, 1.5.1-1build1, 1.5.1-1build2, 1.5.3-2, 1.5.3-2build1, 1.5.3-4, 2.12.1-2, 2.12.1-2build1, 2.17.3+dfsg-3, 2.19.1+dfsg-2ubuntu1, 2.19.3+dfsg-1ubuntu1, 2.19.3+dfsg-1ubuntu2, 2.4.0-3, 2.4.0-4, 2.4.0-5ubuntu1, 2.9.0-2, 2.9.0-2build1
- Fixed versions
- 2.19.1+dfsg-2ubuntu1+esm1, 2.19.3+dfsg-1ubuntu2+esm1
- CVEs
- CVE-2024-50382
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:10 UTC · Revision 1
Source evidence
Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.
osv:UBUNTU-CVE-2024-50382
botan
Fixed versions: Not specified
botan
Fixed versions: Not specified
oscar
Fixed versions: Not specified
oscar
Fixed versions: Not specified
botan
Fixed versions: 2.19.1+dfsg-2ubuntu1+esm1
oscar
Fixed versions: Not specified
botan
Fixed versions: 2.19.3+dfsg-1ubuntu2+esm1
oscar
Fixed versions: Not specified
oscar
Fixed versions: Not specified
oscar
Fixed versions: Not specified
Complete source record
{
"id": "e868d062917f0bb89fe17f81b0ea7c67bb089e633eec88ac45c4bc8d79be41d8",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-50382",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-50382",
"summary": "Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.",
"evidence": "osv:UBUNTU-CVE-2024-50382",
"products": [
{
"name": {
"value": "botan",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "2.4.0-4",
"evidence": "/affected/0/versions"
},
{
"value": "2.4.0-5ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "botan",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.9.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.9.0-2build1",
"evidence": "/affected/1/versions"
},
{
"value": "2.12.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.12.1-2build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "oscar",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.0-testing-3-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.0-testing-3-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.0-testing-3-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.0-testing-3-3build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "oscar",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.3.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.3.1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "botan",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.19.1+dfsg-2ubuntu1+esm1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": [
{
"value": "2.17.3+dfsg-3",
"evidence": "/affected/4/versions"
},
{
"value": "2.19.1+dfsg-2ubuntu1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "oscar",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.5.1-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.5.1-1build1",
"evidence": "/affected/5/versions"
},
{
"value": "1.5.1-1build2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "botan",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.19.3+dfsg-1ubuntu2+esm1",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": [
{
"value": "2.19.3+dfsg-1ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "2.19.3+dfsg-1ubuntu2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "oscar",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.3-2",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "oscar",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.3-2build1",
"evidence": "/affected/8/versions"
},
{
"value": "1.5.3-4",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "oscar",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.3-2",
"evidence": "/affected/9/versions"
},
{
"value": "1.5.3-2build1",
"evidence": "/affected/9/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-50382",
"aliases": [
"UBUNTU-CVE-2024-50382"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "botan",
"purl": "pkg:deb/ubuntu/botan?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.4.0-3",
"2.4.0-4",
"2.4.0-5ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "botan",
"purl": "pkg:deb/ubuntu/botan?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.9.0-2",
"2.9.0-2build1",
"2.12.1-2",
"2.12.1-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "oscar",
"purl": "pkg:deb/ubuntu/oscar?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.1.0-testing-3-1",
"1.1.0-testing-3-2",
"1.1.0-testing-3-3",
"1.1.0-testing-3-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "oscar",
"binary_version": "1.1.0-testing-3-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "oscar",
"purl": "pkg:deb/ubuntu/oscar?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.2.0-1",
"1.3.0-1",
"1.3.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "oscar",
"binary_version": "1.3.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.19.1+dfsg-2ubuntu1+esm1"
}
]
}
],
"package": {
"name": "botan",
"purl": "pkg:deb/ubuntu/botan?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"2.17.3+dfsg-3",
"2.19.1+dfsg-2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"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"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "oscar",
"purl": "pkg:deb/ubuntu/oscar?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.4.0-1",
"1.5.1-1",
"1.5.1-1build1",
"1.5.1-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "oscar",
"binary_version": "1.5.1-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.19.3+dfsg-1ubuntu2+esm1"
}
]
}
],
"package": {
"name": "botan",
"purl": "pkg:deb/ubuntu/botan?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2.19.3+dfsg-1ubuntu1",
"2.19.3+dfsg-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"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"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "oscar",
"purl": "pkg:deb/ubuntu/oscar?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.5.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "oscar",
"binary_version": "1.5.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "oscar",
"purl": "pkg:deb/ubuntu/oscar?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.5.3-2build1",
"1.5.3-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "oscar",
"binary_version": "1.5.3-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "oscar",
"purl": "pkg:deb/ubuntu/oscar?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.5.3-2",
"1.5.3-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-50382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "oscar",
"binary_version": "1.5.3-2build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:39.930547606Z",
"provider": "osv",
"upstream": [
"CVE-2024-50382"
],
"references": [
"https://ubuntu.com/security/CVE-2024-50382",
"https://www.cve.org/CVERecord?id=CVE-2024-50382",
"https://github.com/randombit/botan/compare/3.5.0...3.6.0",
"https://arxiv.org/pdf/2410.13489",
"https://news.ycombinator.com/item?id=41887153",
"https://ubuntu.com/security/notices/USN-7586-1"
]
},
"related_cves": [
{
"value": "CVE-2024-50382",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355927,
"published_at": "2024-10-23T17:15:00+00:00"
}