CVE Catalog

CVE-2026-15999

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

In bc-csharp before 2.7.0, the AES-CCM implementation (CcmParameters and CcmBlockCipher) improperly validates the authentication tag length. An attacker can modify CCM-encrypted content without detection by using an AlgorithmIdentifier with a zero-length or out-of-range tag.

Risk Assessment

An attacker can alter encrypted data without detection, compromising integrity and authenticity.

Recommendation

Update bc-csharp to version 2.7.0 or later. Ensure applications using AES-CCM validate tag length before decryption.

Other vulnerabilities in bc-csharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS