8.7High

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

Legion of the Bouncy Castle Inc. bc-csharp Published: (1 month ago)

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.

Weakness (CWE): CWE-325

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
bouncycastle bc-csharp < 2.7.0
Legion of the Bouncy Castle Inc. bc-csharp < 2.7.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:* < 2.7.0