CVE-2016-2427 Weak cryptography in n/a

Medium 5.5 Published Updated

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.

All Bouncycastle Bc-Java vulnerabilities

Sources

Also known as GHSA-727r-ghq8-fgh9.

Is CVE-2016-2427 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free