CVE-2026-74889

openssl_encrypt before 1.4.0 Weak Key Derivation via HKDF

Published Aug 17, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*
Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt
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'}

Weaknesses
  • CWE-326

    Inadequate Encryption Strength

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:20 PM
Reserved
Aug 17, 2026, 10:42 AM
Status
Analyzed
Published
Aug 17, 2026, 11:16 AM
Modified
Sep 1, 2026, 3:26 PM