Katalog CVE

CVE-2026-63567

WysokieCVSS 8.2
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W bibliotece bc-csharp przed wersją 2.7.0 funkcja IesEngine.DecryptBlock wykazuje zauważalną różnicę w zachowaniu przy błędzie dopełnienia i błędzie MAC. Atakujący, który przechwycił szyfrogram IES/ECIES, może wykorzystać atak typu padding-oracle do odzyskania tekstu jawnego.

Ocena ryzyka

Atakujący może odszyfrować poufne dane zaszyfrowane algorytmem IES/ECIES, co narusza poufność informacji.

Rekomendacja

Zaktualizuj bibliotekę bc-csharp do wersji 2.7.0 lub nowszej. Unikaj bezpośredniego używania IesEngine z szyfrem blokowym z dopełnieniem; stosuj tryb strumieniowy lub zweryfikuj implementację.

Inne podatności w bc-csharp

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS