CVE-2026-15999 AES-CCM decryption accepts zero or out-of-range tag length, bypassing authentication
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Improper validation of integrity check value in the AES-CCM implementation (CcmParameters and CcmBlockCipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an on-path attacker to modify CCM-encrypted content without detection via an AlgorithmIdentifier whose CCMParameters declare an authentication tag (aes-ICVlen) of zero or another length outside the RFC 5084 set, because CcmParameters accepted any value and CcmBlockCipher validated the tag length only when encrypting, so decryption compared a zero-length or very short tag. Affected paths include ParameterUtilities.GetCipherParameters, used by CmsEnvelopedData and CmsEnvelopedDataParser for EnvelopedData encrypted with AES-CCM, and any caller passing an unchecked tag length to CcmBlockCipher for decryption.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bouncycastle bc-csharp | < 2.7.0 | 2.7.0 | Fixed |
| nuget BouncyCastle.Cryptography(NuGet) | < 2.7.0 | 2.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget BouncyCastle.Cryptography(NuGet) | < 2.7.0 | 2.7.0 |
| bouncycastle bc-csharp | < 2.7.0 | 2.7.0 |
References
- github.com patch vendor-advisory
- github.com patch
- github.com patch
- ENISA EUVD EUVD-2026-91204 third-party-advisory