Skip to content

CVE-2026-16000 KCcmBlockCipher (DSTU 7624 CCM) tag not bound to nonce when no associated data is used

HighCVSS 8.7 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Missing cryptographic step in the DSTU 7624 CCM mode implementation (KCcmBlockCipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an attacker who can observe encrypted messages of known or chosen content to forge ciphertexts with valid authentication tags, via messages encrypted without associated data. The cause is that the G1 block, which binds the nonce, the message length and the parameter flags into the CBC-MAC, was processed only when associated data was present. Without associated data the tag was a CBC-MAC of the plaintext alone, independent of the nonce. Only applications that use KCcmBlockCipher directly and supply no associated data are affected.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
bouncycastle bc-csharp < 2.7.0 2.7.0 Fixed
nuget BouncyCastle.Cryptography(NuGet) < 2.7.0 2.7.0 Fixed

Affected products

ProductAffected versionsFixed in
nuget BouncyCastle.Cryptography(NuGet) < 2.7.0 2.7.0
bouncycastle bc-csharp < 2.7.0 2.7.0

References