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

Published Oct 2, 2026
·
Updated

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.

Affected Software

1 affected component
Legion of the Bouncy Castle Inc. bc-csharp<2.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bc-csharp to a version that resolves this vulnerability.

    Fixed in 2.7.0

Event History

Oct 2, 2026
CVE Published
via MITRE·06:55 AM
Data Sourced
via MITRE·06:55 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using the stream-mode variant of IesEngine, meaning an IesEngine constructed without a block cipher, are affected in bc-csharp versions before 2.7.0. The issue does not describe exposure for IesEngine instances constructed with a block cipher.

2

What does an attacker need to exploit this?

An attacker needs to observe one encrypted message for which the plaintext is known. They can then use the revealed keystream material to forge crafted ciphertexts and MAC tags for sufficiently shorter messages.

3

What can an attacker do after exploiting the issue?

The attacker can create shorter messages of their choosing that the recipient accepts as authentic. The described impact is message forgery rather than decryption of arbitrary messages.

4

Is patching the only stated remediation?

The affected versions are identified as bc-csharp versions before 2.7.0. The provided data does not state a workaround or mitigation for systems that cannot immediately upgrade.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203