PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-63567 Legion of the Bouncy Castle Inc. CVE debrief

CVE-2026-63567 is a vulnerability in the IesEngine.DecryptBlock function of the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0. This vulnerability allows a remote attacker to recover the plaintext of a captured IES or ECIES ciphertext by submitting modified ciphertexts for decryption under the same key pair. The attack exploits a CBC padding-oracle vulnerability, which arises because the engine decrypts the ciphertext, removes its padding, and reports padding failures with a different error message without computing the MAC.

Vendor
Legion of the Bouncy Castle Inc.
Product
bc-csharp
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-02
Original CVE updated
2026-10-27
Advisory published
2026-10-02
Advisory updated
2026-10-27

Who should care

Defenders responsible for systems using the bc-csharp library, especially those handling cryptographic operations, should assess exposure and prioritize verification and remediation efforts.

Why it matters

CVE-2026-63567 is a high-severity vulnerability in the Bouncy Castle Inc.'s bc-csharp library that allows remote attackers to recover plaintext from captured ciphertexts via a CBC padding-oracle attack. Defenders should prioritize verifying exposure in systems using the affected library and implement remediation efforts to prevent unauthorized access to sensitive information.

  • Remote attackers can exploit this vulnerability to recover plaintext from captured ciphertexts.
  • Successful exploitation can lead to unauthorized access to sensitive information.
  • Defenders need to verify exposure in systems using the affected library and prioritize remediation.
  • Remediation involves updating to version 2.7.0 or later and implementing compensating controls.

Technical summary

The IesEngine.DecryptBlock function in the Bouncy Castle Inc.'s bc-csharp library before version 2.7.0 is vulnerable to a CBC padding-oracle attack. This allows a remote attacker who has captured an IES or ECIES ciphertext and can submit modified ciphertexts for decryption under the same key pair to recover its plaintext. The vulnerability arises 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

Defensive priority

Defenders should prioritize verifying exposure in systems using the affected bc-csharp library, especially those handling cryptographic operations. Immediate actions include updating to version 2.7.0 or later and implementing compensating controls to monitor and restrict suspicious decryption attempts.

Recommended defensive actions

  • Update bc-csharp to version 2.7.0 or later
  • Implement compensating controls to monitor and restrict suspicious decryption attempts
  • Verify exposure in systems using the affected library
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The CVE record and NVD detail provide information on the vulnerability, its impact, and affected versions. Patches are available in the bc-csharp repository. A remote attacker who has captured an IES or ECIES ciphertext and can submit modified ciphertexts for decryption under the same key pair can recover its plaintext via a CBC padding-oracle attack. The attack exploits a CBC padding-oracle vulnerability, which arises because the engine decrypts the ciphertext, removes its padding, and reports padding failures with a different error.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-63567 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-63567

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-63567 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-63567

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bcgit/bc-csharp/commit/eaa42e1e8125b3e2e25e365c4194c7cd5932360b

    91579145-5d7b-4cc5-b925-a0262ff19630 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bcgit/bc-csharp/commit/f881400b761134160ec2a05fd27c3e569453788d

    91579145-5d7b-4cc5-b925-a0262ff19630 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63567

    91579145-5d7b-4cc5-b925-a0262ff19630 - Patch, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.