CVE Catalog

CVE-2026-16001

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

In bc-csharp before 2.7.0, in stream mode of IesEngine, the MAC key is derived directly after a keystream that depends only on the static key pair and fixed parameters. An attacker who knows the plaintext of one message can forge shorter messages that are accepted as authentic.

Risk Assessment

An attacker can impersonate the sender and send forged messages, compromising integrity and authenticity.

Recommendation

Update bc-csharp to version 2.7.0 or later. Avoid using stream mode IesEngine without additional protections.

Other vulnerabilities in bc-csharp

See all
Original NVD description (English source)

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.

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