CVE Catalog

CVE-2026-63567

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

In bc-csharp before 2.7.0, IesEngine.DecryptBlock shows an observable discrepancy between padding errors and MAC errors. An attacker who captured an IES/ECIES ciphertext can use a padding-oracle attack to recover plaintext.

Risk Assessment

An attacker can decrypt sensitive data encrypted with IES/ECIES, compromising confidentiality.

Recommendation

Update bc-csharp to version 2.7.0 or later. Avoid direct use of IesEngine with a padded block cipher; use stream mode or verify the implementation.

Other vulnerabilities in bc-csharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS