CVE-2016-1000345
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.
What to do
Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bouncycastle | Fix pending | UBUNTU-CVE-2016-1000345 | |
| Ubuntu 14.04 | bouncycastle | Fixed | 1.49+dfsg-2ubuntu0.1 | UBUNTU-CVE-2016-1000345 |
| Debian 14 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000345 |
| Debian 13 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000345 |
| Debian 12 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000345 |
| Maven library | org.bouncycastle:bcprov-jdk14 | Fixed | 1.56 | GHSA-9gp4-qrff-c648 |
| Maven library | org.bouncycastle:bcprov-jdk15 | Fixed | 1.56 | GHSA-9gp4-qrff-c648 |
| Maven library | org.bouncycastle:bcprov-jdk15on | Fixed | 1.56 | GHSA-9gp4-qrff-c648 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:2669 (vendor-advisory)
- https://usn.ubuntu.com/3727-1/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2927 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- https://access.redhat.com/errata/RHSA-2018:2669
- https://usn.ubuntu.com/3727-1/
- https://access.redhat.com/errata/RHSA-2018:2927
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://security.netapp.com/advisory/ntap-20181127-0004/
- https://github.com/bcgit/bc-java/commit/21dcb3d9744c83dcf2ff8fcee06dbca7bfa4ef35#diff-4439ce586bf9a13bfec05c0d113b8098
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.