home / blog

2026-11-23 · medium

CVE-2013-7372: Cryptographic Vulnerability in Apache Harmony

Apache Harmony vulnerability: predictable PRNG compromises Bitcoin apps.

CVE-2013-7372: Cryptographic Vulnerability in Apache Harmony

CVE-2013-7372 concerns a cryptographic function in Apache Harmony that, when not receiving a user-provided seed, uses an incorrect offset value. This issue compromises the predictability of the pseudo-random number generator (PRNG), reducing the effectiveness of cryptographic protection mechanisms and particularly affecting Bitcoin wallet applications.

The severity is classified as medium (CVSS 5.0). The vulnerability is known to have been actively exploited in the wild in August 2013, as confirmed by official sources. Recent signals indicate continued interest in cryptographic research related to this issue, with public repositories dedicated to auditing PRNG nonce entropy and statistical bias.

From a defensive standpoint, organizations should update all systems using Apache Harmony to the patched version (Android 4.4 or later) or, for unsupported versions, implement appropriate seeding mechanisms for the SecureRandom instance. It's also crucial to verify whether internally developed or business-used applications depend on this cryptographic implementation.

At a glance

What
engineNextBytes function in Apache Harmony's SecureRandom implementation uses incorrect offset value when no seed is provided, making PRNG predictable
Severity
CVSS 5.0 (medium)
Affected versions
Apache Harmony through 6.0M3, Android before 4.4
Fix
Update to Android 4.4 or later version
Status
Vulnerability exploited in the wild (August 2013)
Action
Update systems to patched version or provide proper seed

Sources: NVD, CVE-2013-7372

← All articles