Skip to main content
EPSS 0.5%top 62%

CVE-2026-63567: CWE-203 Observable Discrepancy in Legion of the Bouncy Castle Inc. bc-csharp

0
High
Published: 10/02/2026 (10/02/2026, 06:58:32 UTC)
Source: GCVE Database
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: bc-csharp

Description

Observable discrepancy in IesEngine.DecryptBlock in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker who has captured an IES or ECIES ciphertext, and who can submit modified ciphertexts for decryption under the same key pair, to recover its plaintext via a CBC padding-oracle attack, because in block-cipher mode the engine decrypts the ciphertext and removes its padding before verifying the MAC. A padding failure is therefore reported with a different error message, and without the MAC computation, compared with a MAC failure. Only applications that construct IesEngine directly with a padded block cipher, such as AES in CBC mode with PKCS#7 padding, are affected; stream-mode IES is 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

bc-csharp
pkg:nuget/bc-csharp
Affected versions
<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, 18:22:31 UTC

Technical Analysis

The vulnerability (CVE-2026-63567) exists in the IesEngine.DecryptBlock method of Legion of the Bouncy Castle Inc. bc-csharp prior to version 2.7.0. When used with a padded block cipher such as AES in CBC mode with PKCS#7 padding, the engine decrypts ciphertext and removes padding before verifying the MAC. This leads to an observable discrepancy in error messages between padding failures and MAC failures, enabling a remote attacker who can submit modified ciphertexts under the same key pair to recover plaintext via a CBC padding-oracle attack. Stream-mode IES is not affected by this issue.

Potential Impact

An attacker who has captured an IES or ECIES ciphertext and can submit modified ciphertexts for decryption under the same key pair may recover plaintext data by exploiting the difference in error messages between padding and MAC verification failures. This compromises the confidentiality of encrypted data in affected applications using padded block ciphers with IesEngine.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using IesEngine directly with padded block ciphers such as AES in CBC mode with PKCS#7 padding. Consider using stream-mode IES or alternative cryptographic implementations that do not exhibit this vulnerability.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6w4x-4wpp-m6r4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63567"]
Database Specific Severity
HIGH
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abfeebca43b0b3b89e56602

Added to database: 10/02/2026, 17:49:48 UTC

Last enriched: 10/02/2026, 18:22:31 UTC

Last updated: 10/03/2026, 04:45:56 UTC

Views: 8

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