Improper Validation of Integrity Check Value Affecting bouncycastle.cryptography package, versions [,2.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-BOUNCYCASTLECRYPTOGRAPHY-20537016
  • published6 Oct 2026
  • disclosed2 Oct 2026

Introduced: 2 Oct 2026

NewCVE-2026-16001  (opens in a new tab)
CWE-354  (opens in a new tab)

How to fix?

Upgrade BouncyCastle.Cryptography to version 2.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value in the stream-mode IesEngine processing path in crypto/src/crypto/engines/IesEngine.cs. An attacker can forge shorter ciphertexts that the recipient accepts as authentic by observing one encrypted message with known plaintext and reusing the recovered keystream to derive the MAC key for shorter messages. This affects static-key IES sessions without a block cipher, where the MAC key is derived from a message-length-dependent offset behind the keystream and a valid ciphertext-plus-tag pair can be constructed for a different message.

CVSS Base Scores

version 4.0
version 3.1