botan2 security update
Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS \#10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan. Security Fix(es): 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.(CVE-2026-32877) 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.(CVE-2026-44378)
OESA-2026-4216
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:OESA-2026-4216
botan2
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 2.19.3-7.oe2403sp3
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.19.3-7.oe2403sp3"
}
]
}
],
"package": {
"name": "botan2",
"purl": "pkg:rpm/openEuler/botan2&distro=openEuler-24.03-LTS-SP3",
"ecosystem": "openEuler:24.03-LTS-SP3"
},
"database_specific": {
"source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4216.json"
},
"ecosystem_specific": {
"src": [
"botan2-2.19.3-7.oe2403sp3.src.rpm"
],
"noarch": [
"botan2-doc-2.19.3-7.oe2403sp3.noarch.rpm"
],
"x86_64": [
"botan2-2.19.3-7.oe2403sp3.x86_64.rpm",
"botan2-debuginfo-2.19.3-7.oe2403sp3.x86_64.rpm",
"botan2-debugsource-2.19.3-7.oe2403sp3.x86_64.rpm",
"botan2-devel-2.19.3-7.oe2403sp3.x86_64.rpm",
"python3-botan2-2.19.3-7.oe2403sp3.x86_64.rpm"
],
"aarch64": [
"botan2-2.19.3-7.oe2403sp3.aarch64.rpm",
"botan2-debuginfo-2.19.3-7.oe2403sp3.aarch64.rpm",
"botan2-debugsource-2.19.3-7.oe2403sp3.aarch64.rpm",
"botan2-devel-2.19.3-7.oe2403sp3.aarch64.rpm",
"python3-botan2-2.19.3-7.oe2403sp3.aarch64.rpm"
]
}
}
]Publisher severity
high
Source reference: /database_specific/severity
- Event
- #52158 · Revision 1
- Added to Heist Feed
- Publisher date