CVE-2016-2427 Weak cryptography in n/a
A disputed cryptographic weakness in Android's AES-GCM implementation could potentially allow attackers to discover authentication keys via crafted applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2016-2427?
CVE-2016-2427 is a medium-severity vulnerability in Bouncycastle Bc-Java, published on 18 Apr 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-200
Which versions are affected by CVE-2016-2427?
It affects 2 products.
Products include Bouncycastle Bc-Java, Google Android.
How do I fix CVE-2016-2427?
No fix has been published for CVE-2016-2427 yet. Limit exposure of the affected software until one is available.
Is CVE-2016-2427 being exploited?
There is no known exploitation of CVE-2016-2427 in the wild and no public exploit code.
Other vulnerabilities in Bouncycastle Bc-Java
- CVE-2007-6721 Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability
- CVE-2018-1000613 Deserialization of Untrusted Data in Bouncy castle
- CVE-2026-58062 Stapled OCSP response accepted without binding to the checked certificate
- CVE-2026-59638 JSSE hostname verifier CN-fallback enabled by default despite documented opt-in
- CVE-2026-59650 MTI/A0 DH agreement exponentiates unvalidated peer value
Sources
Also known as GHSA-727r-ghq8-fgh9.