Vulnerability details

CVE-2026-63567

Legion of the Bouncy Castle bc-csharp

IesEngine block-cipher mode checks padding before MAC (CBC padding oracle)

CVSS 4.0
8.2High

Official 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 scores

ScoreVersionSourceVector
8.2High 4.0 CVEProject cvelistV5 (CNA) (bcorg) 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 products

VendorProductVersionsSource
Legion of the Bouncy Castle Inc. bc-csharp v < 2.7.0 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-10-02
Last updated
2026-10-02
State
Published
Assigner (CNA)
bcorg

Exploit prediction (EPSS)

0.45%
Probability of exploitation in 30 days
39.5%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-203
    Observable Discrepancy