CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"botan","vendor":"randombit","versions":[{"status":"affected","version":">= 2.3.0, < 3.11.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8ca1e8f9b83aea12d554427005e5b6f9be4c2f722c8d9a6222058c616ab72165 · sha256:805c48bcb3fbb3d9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8ca1e8f9b83aea12d554427005e5b6f9be4c2f722c8d9a6222058c616ab72165 · sha256:805c48bcb3fbb3d9… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8ca1e8f9b83aea12d554427005e5b6f9be4c2f722c8d9a6222058c616ab72165 · sha256:805c48bcb3fbb3d9… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8ca1e8f9b83aea12d554427005e5b6f9be4c2f722c8d9a6222058c616ab72165 · sha256:805c48bcb3fbb3d9… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.