What’s Vulnerable › Vulnerabilities
CVE-2013-7372
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2014-04-29 · updated 2026-06-17
- Weakness: CWE-310
Description
The engineNextBytes function in classlib/modules/security/src/main/java/common/org/apache/harmony/security/provider/crypto/SHA1PRNG_SecureRandomImpl.java in the SecureRandom implementation in Apache Harmony through 6.0M3, as used in the Java Cryptography Architecture (JCA) in Android before 4.4 and other products, when no seed is provided by the user, uses an incorrect offset value, which makes it easier for attackers to defeat cryptographic protection mechanisms by leveraging the resulting PRNG predictability, as exploited in the wild against Bitcoin wallet applications in August 2013.
Affected products
- Apache Harmony: through 6.0
- Android: through 4.3.1; 4.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1 (+5)
References
- http://android-developers.blogspot.com.au/2013/08/some-securerandom-thoughts.html
- http://www.nds.rub.de/media/nds/veroeffentlichungen/2013/03/25/paper_2.pdf
- https://android.googlesource.com/platform/libcore/+/kitkat-release/luni/src/main/java/org/apache/harmony/security/provider/crypto/SHA1PRNG_SecureRandomImpl.java
- https://bitcoin.org/en/alert/2013-08-11-android
- http://android-developers.blogspot.com.au/2013/08/some-securerandom-thoughts.html
- http://www.nds.rub.de/media/nds/veroeffentlichungen/2013/03/25/paper_2.pdf
- https://android.googlesource.com/platform/libcore/+/kitkat-release/luni/src/main/java/org/apache/harmony/security/provider/crypto/SHA1PRNG_SecureRandomImpl.java
- https://bitcoin.org/en/alert/2013-08-11-android
Get alerted when CVE-2013-7372 or the next vulnerability affects your stack