---
title: "CVE-2026-32877"
canonical_url: "https://pkgseek.com/security/CVE-2026-32877"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-32877

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 严重级别为 HIGH (8.2)，共索引 12 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: HIGH (8.2)
- **受影响构建数**: 12
- **涉及发行版**: 2
- **已标明修复版本发行版**: Debian, Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | botan | 3.7.1+dfsg-2 | 3.11.0+dfsg-2 |
| Debian | trixie | libbotan-2-19 | 2.19.5+dfsg-4 | — |
| Debian | trixie | libbotan-2-dev | 2.19.5+dfsg-4 | — |
| Debian | trixie | libbotan-2-doc | 2.19.5+dfsg-4 | — |
| Debian | trixie | libbotan-3-7 | 3.7.1+dfsg-2 | 3.11.0+dfsg-2 |
| Debian | trixie | libbotan-3-dev | 3.7.1+dfsg-2 | 3.11.0+dfsg-2 |
| Debian | trixie | libbotan-3-doc | 3.7.1+dfsg-2 | 3.11.0+dfsg-2 |
| Debian | trixie | python3-botan | 3.7.1+dfsg-2 | 3.11.0+dfsg-2 |
| Fedora | 44 | botan3 | 3.9.0-5.fc44 | 3.9.0-7.fc44 |
| Fedora | 44 | botan3-devel | 3.9.0-5.fc44 | 3.9.0-7.fc44 |
| Fedora | 44 | botan3-doc | 3.9.0-5.fc44 | 3.9.0-7.fc44 |
| Fedora | 44 | python3-botan3 | 3.9.0-5.fc44 | 3.9.0-7.fc44 |
