Release of unverified plaintext in the CCM (CcmBlockCipher) and DSTU 7624 CCM (KCcmBlockCipher) AEAD modes in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker to obtain decryptions of ciphertexts of their choosing via forged messages sent to an application that lets the output buffer of a failed decryption be observed, for example through buffer reuse or logging, because decryption wrote the recovered plaintext into the caller-supplied output buffer before checking the authentication tag and left it there when the check failed. Only decryption into a caller-supplied buffer is affected; methods that return a newly allocated array are not.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/bcgit/bc-csharp/commit/4ddb1d0bfeae3a81b18f4446d8cc8a7871bd2d9f Patch
- https://github.com/bcgit/bc-csharp/commit/e0868323645a063cb2479646e93c1449dc338de5 Patch
- https://github.com/bcgit/bc-csharp/wiki/CVE-2026-103601 Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.2 · bouncycastleNVD modified 2026-10-28 14:42
Affected (CPE criteria) 1
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*