CVE-2013-7372: Predictable SecureRandom output in Apache Harmony and Android
- Vendors
- GoogleApache Software Foundation
CVE-2013-7372 is a pseudorandom-number generation vulnerability in Apache Harmony through 6.0M3, including the SecureRandom implementation used by the Java Cryptography Architecture in Android before 4.4. When an application does not supply a seed, the engineNextBytes function in SHA1PRNG_SecureRandomImpl uses an incorrect offset, making its pseudorandom output predictable and weakening cryptographic protections that depend on that output. The vulnerability was exploited against Bitcoin wallet applications in August 2013.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Predictable SecureRandom output can undermine cryptographic mechanisms that rely on unpredictable random values. In affected Android Bitcoin wallets, the weakness was associated with ECDSA nonce reuse. Exploitation against Bitcoin wallet applications occurred in August 2013; the precise extent of compromise and financial losses is not specified.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, always provide a strong, unpredictable seed to SecureRandom instances, even on affected platforms. Where possible, use alternative cryptographic libraries or PRNG implementations that are not affected by this flaw until a full patch can be applied.
Remediation
Patch, then assume compromise.
For affected Android deployments, upgrade to Android 4.4 or later, outside the stated affected version range. A specific corrected Apache Harmony release or patch is not identified.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2013-7372 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2013-7372?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2013-7372.
- Is there a patch for CVE-2013-7372?
- For affected Android deployments, upgrade to Android 4.4 or later, outside the stated affected version range. A specific corrected Apache Harmony release or patch is not identified.
- What products are affected by CVE-2013-7372?
- Google Android and Apache Software Foundation Harmony.
- How severe is CVE-2013-7372?
- CVE-2013-7372 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 2.5% (85th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.