CVE-2026-16001

IesEngine stream-mode MAC forgery via length-dependent KDF split

State
Published
Severity
8.2 High
Published
Oct 2, 2026
Updated
Oct 2, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:Nbcorg

Weaknesses

  • CWE-354 Improper Validation of Integrity Check Value

Affected Products

ProductVersions
bc-csharpLegion of the Bouncy Castle Inc.
  • before 2.7.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.