CVE-2016-2427Bouncycastle Bc-java
Medium 5.5
Follow: this CVE · Bouncycastle · Bouncycastle Bc-java We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.0
- 5.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 28
- Auth required
- Yes
- Published
- Apr 18, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
The AES-GCM specification in RFC 5084, as used in Android 5.x and 6.x, recommends 12 octets for the aes-ICVlen parameter field, which might make it easier for attackers to defeat a cryptographic protection mechanism and discover an authentication key via a crafted application, aka internal bug 26234568. NOTE: The vendor disputes the existence of this potential issue in Android, stating "This CVE was raised in error: it referred to the authentication tag size in GCM, whose default according to ASN.1 encoding (12 bytes) can lead to vulnerabilities. After careful consideration, it was decided that the insecure default value of 12 bytes was a default only for the encoding and not default anywhere else in Android, and hence no vulnerability existed.
What to do
- Apply the vendor's security update for Bc-java.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bouncycastle | bc-java | 1.54 |
| android | 5.0 | |
| android | 5.0.1 | |
| android | 5.1 | |
| android | 5.1.0 | |
| android | 6.0 | |
| android | 6.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- source.android.com Vendor Advisory