In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES/ECIES CBC mode vulnerable to padding oracle attack. For BC 1.55 and older, in an environment where timings can be easily observed, it is possible with enough observations to identify when the decryption is failing due to padding.
https://www.oracle.com/security-alerts/cpuoct2020.html
https://usn.ubuntu.com/3727-1/
https://security.netapp.com/advisory/ntap-20181127-0004/
https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html