Skip to main content
EPSS 0.3%top 81%

CVE-2026-103601: CWE-354 Improper Validation of Integrity Check Value in Legion of the Bouncy Castle Inc. bc-csharp

0
High
Published: 10/02/2026 (10/02/2026, 07:09:17 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: bc-csharp

Description

Release of unverified plaintext in the CCM (CcmBlockCipher) and DSTU 7624 CCM (KCcmBlockCipher) AEAD modes in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker to obtain decryptions of ciphertexts of their choosing via forged messages sent to an application that lets the output buffer of a failed decryption be observed, for example through buffer reuse or logging, because decryption wrote the recovered plaintext into the caller-supplied output buffer before checking the authentication tag and left it there when the check failed. Only decryption into a caller-supplied buffer is affected; methods that return a newly allocated array are not.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

Legion of the Bouncy Castle Inc.

bc-csharp

Affected versions
>=0 <2.7.0
BouncyCastle.Cryptography
pkg:nuget/BouncyCastle.Cryptography
Affected versions
>=0 <2.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 07:47:07 UTC

Technical Analysis

This vulnerability arises from the improper validation of the authentication tag in the CCM (CcmBlockCipher) and DSTU 7624 CCM (KCcmBlockCipher) AEAD modes in bc-csharp versions prior to 2.7.0. During decryption into a caller-supplied buffer, the plaintext is written before the authentication tag check, and if the tag verification fails, the plaintext remains in the buffer. This behavior can allow a remote attacker to obtain decryptions of chosen ciphertexts by sending forged messages to an application that exposes the output buffer, for example, through buffer reuse or logging. The issue does not affect methods that return newly allocated arrays for decrypted output.

Potential Impact

An attacker can obtain decrypted plaintext of ciphertexts of their choosing by exploiting the premature release of unverified plaintext in the affected decryption methods. This can lead to information disclosure without requiring authentication or user interaction. The vulnerability affects confidentiality and could compromise sensitive data processed by applications using the vulnerable bc-csharp versions.

Mitigation Recommendations

Upgrade to bc-csharp version 2.7.0 or later, where this issue is fixed. Avoid using decryption methods that write into caller-supplied buffers in affected versions. Since the vulnerability is fixed in version 2.7.0, applying this official update is the recommended remediation. Patch status is confirmed by the versioning information indicating the fix in 2.7.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
bcorg
Date Reserved
2026-09-30T23:01:10.053Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abf5de5a43b0b3b8988e874

Added to database: 10/02/2026, 07:31:49 UTC

Last enriched: 10/02/2026, 07:47:07 UTC

Last updated: 10/02/2026, 18:46:41 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses