CVE-2026-63567: CWE-203 Observable Discrepancy in Legion of the Bouncy Castle Inc. bc-csharp
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.
AI Analysis
Technical Summary
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.
CVE-2026-63567: CWE-203 Observable Discrepancy in Legion of the Bouncy Castle Inc. 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.