{"id":"OESA-2026-4215","summary":"botan2 security update","details":"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.\r\n\r\nSecurity Fix(es):\n\nBotan 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)\n\nBotan 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)","modified":"2026-10-01T02:00:09.672018065Z","published":"2026-09-30T13:47:41Z","upstream":["CVE-2026-32877","CVE-2026-44378"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-4215"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32877"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44378"}],"affected":[{"package":{"name":"botan2","ecosystem":"openEuler:24.03-LTS-SP1","purl":"pkg:rpm/openEuler/botan2&distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.3-7.oe2403sp1"}]}],"ecosystem_specific":{"x86_64":["botan2-2.19.3-7.oe2403sp1.x86_64.rpm","botan2-debuginfo-2.19.3-7.oe2403sp1.x86_64.rpm","botan2-debugsource-2.19.3-7.oe2403sp1.x86_64.rpm","botan2-devel-2.19.3-7.oe2403sp1.x86_64.rpm","python3-botan2-2.19.3-7.oe2403sp1.x86_64.rpm"],"aarch64":["botan2-2.19.3-7.oe2403sp1.aarch64.rpm","botan2-debuginfo-2.19.3-7.oe2403sp1.aarch64.rpm","botan2-debugsource-2.19.3-7.oe2403sp1.aarch64.rpm","botan2-devel-2.19.3-7.oe2403sp1.aarch64.rpm","python3-botan2-2.19.3-7.oe2403sp1.aarch64.rpm"],"noarch":["botan2-doc-2.19.3-7.oe2403sp1.noarch.rpm"],"src":["botan2-2.19.3-7.oe2403sp1.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-4215.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}