Live threats

All CVEs / Bouncycastle

CVE-2016-2427Bouncycastle Bc-java

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bc-java.

Affected products (CPE)

VendorProductVersions
bouncycastlebc-java1.54
googleandroid5.0
googleandroid5.0.1
googleandroid5.1
googleandroid5.1.0
googleandroid6.0
googleandroid6.0.1

Official sources

References

Links published by the sources. Open them with care.