8.2High

CVE-2026-16001IesEngine stream-mode MAC forgery via length-dependent KDF split

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

Description

Exposure of the message authentication key through the encryption keystream in the stream mode of IesEngine (an IesEngine constructed without a block cipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker who has observed one encrypted message with known plaintext to forge shorter messages of their choosing that the recipient accepts as authentic, via a crafted ciphertext and MAC tag, because the MAC key was taken from the key derivation output directly after a keystream as long as the message, while the derivation input depends only on the static key pair and fixed parameters. The keystream revealed by that one message therefore contains the MAC key for every sufficiently shorter message.

Weakness (CWE): CWE-354

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