Description
openssl_encrypt versions before 1.4.0 use HKDF with no salt and static info parameter in key normalization functions, reducing entropy extraction and determinism. Attackers can exploit predictable key derivation with identical inputs to weaken cryptographic security against multi-target attacks.
Published: 2026-08-17
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability stems from a weakness in the key derivation function used by openssl_encrypt versions prior to 1.4.0. The implementation of HKDF lacks a salt and uses a static info parameter during key normalization, which limits the entropy that can be extracted from the input. As a result, keys derived from identical inputs are highly deterministic, enabling an attacker to compute cryptographic keys more easily and compromise confidentiality of data protected by the library. The affected weakness is classified as CWE‑326, highlighting insufficient key derivation protocols.

Affected Systems

The vulnerable product is the openssl_encrypt library provided by jahlives. All releases before version 1.4.0 are vulnerable. Users who rely on this library for encryption or key generation are at risk until they upgrade to a supported release.

Risk and Exploitability

The CVSS base score for this issue is 9.3, categorizing it as critical. While the EPSS score for this vulnerability is not available, the lack of available surface for exploitation suggest that an attacker with the ability to influence key inputs could exploit the predictability. The vulnerability is not currently listed in the CISA KEV catalog. The attack vector is inferred to be remote software exploitation through the use of the deterministic key derivation process in the encrypting code.

Generated by OpenCVE AI on August 17, 2026 at 12:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.0 or later where HKDF is properly seeded with a salt and variable info parameter
  • If an upgrade is not immediately possible, restrict the usage of openssl_encrypt to scenarios where key derivation inputs are truly random and not reused across contexts
  • Apply additional application‑level controls that enforce random or user‑provided salts before invoking the encryption routine

Generated by OpenCVE AI on August 17, 2026 at 12:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description openssl_encrypt versions before 1.4.0 use HKDF with no salt and static info parameter in key normalization functions, reducing entropy extraction and determinism. Attackers can exploit predictable key derivation with identical inputs to weaken cryptographic security against multi-target attacks.
Title openssl_encrypt before 1.4.0 Weak Key Derivation via HKDF
Weaknesses CWE-326
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T11:04:53.146Z

Reserved: 2026-08-17T10:42:40.455Z

Link: CVE-2026-74889

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T11:16:43.803

Modified: 2026-08-17T11:16:43.803

Link: CVE-2026-74889

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T13:00:13Z

Weaknesses
  • CWE-326

    Inadequate Encryption Strength