Weak Key Derivation in openssl_encrypt Affects Cryptographic Security
CVE-2026-74889
9.3CRITICAL
What is CVE-2026-74889?
The openssl_encrypt function prior to version 1.4.0 is vulnerable due to the use of HKDF without salt and static information during key normalization. This setup diminishes entropy extraction and introduces deterministic outcomes that can be exploited. Attackers may leverage this vulnerability, especially in multi-target scenarios, leading to potential breaches in cryptographic security, as identical inputs produce predictable keys that weaken defenses. It is crucial for users to upgrade to the latest version to mitigate these risks.
Affected Version(s)
openssl_encrypt 0 < 1.4.0
openssl_encrypt 1.4.0
