Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCollect ciphertexts from many openssl_encrypt users
-
ExploitObserve deterministic unsalted HKDF key derivation
-
ExecutionPrecompute keys across the target set
-
ImpactRecover plaintext in multi-target attack
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Encryption strength requirements
|
| Exploitation Conditions | Exploitation requires the application to use openssl_encrypt (before 1.4.0) with its default key-normalization path, which calls HKDF with no salt and a static info parameter; the weakness manifests specifically when identical input key material is used across multiple targets or operations, producing identical derived keys. What limits exploitation: the attacker must first obtain ciphertexts or derived-key artifacts to attack, and the practical advantage is realized in multi-target/batch scenarios rather than against a single isolated encryption - so a deployment that already uses unique high-entropy inputs per operation is substantially less exposed even on a vulnerable version. |
| Impact | Signals conflict sharply on severity. The supplied CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N with VC:H/VI:H/VA:H, score 9.3 'critical') implies trivially exploitable remote compromise of confidentiality, integrity, and availability - but the described weakness is a key-derivation entropy reduction that primarily degrades confidentiality and only under multi-target conditions, not a direct remote code-execution or data-theft primitive. The listed AC:L/AT:N is optimistic: realistically an attacker must already possess ciphertexts or derived-key artifacts and mount a batch/precomputation attack, which is closer to high attack complexity. There is no EPSS score, no KEV listing, and no evidence of a public POC in the provided data, so this is not confirmed active exploitation. Net: treat as a real but lower-urgency hardening fix - meaningfully weakened crypto worth patching, but the raw 9.3 overstates real-world exploitability for what is effectively a cryptographic weakness against multi-target adversaries. |
| Exploit ScenarioDerived | An attacker who can harvest ciphertexts or derived-key material from many users of an application built on openssl_encrypt exploits the deterministic, unsalted HKDF output to precompute or correlate keys across the whole population, amortizing cryptanalytic effort in a multi-target attack instead of attacking each victim independently. No public POC is identified at time of analysis, and success hinges on already having access to the encrypted artifacts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Weak cryptographic key derivation in the openssl_encrypt Python library (all versions before 1.4.0) stems from its key-normalization routines invoking HKDF with no salt and a static info parameter, making derived keys deterministic for identical inputs. This reduces effective entropy and weakens resistance to multi-target (batch) attacks, letting an adversary who collects ciphertexts or derived-key material amortize cryptanalytic effort across many victims. No public exploit identified at time of analysis; the flaw was reported by VulnCheck and a vendor patch is available in 1.4.0.
RemediationAI
Upgrade to openssl_encrypt 1.4.0 or later, which is the vendor-released patched version fixing the HKDF key-derivation weakness; consult the GitHub Security Advisory GHSA-j9mh-57cc-665x (https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-j9mh-57cc-665x) and the VulnCheck advisory for confirmation. Because the defect is in how keys are derived, patching alone does not retroactively secure data already encrypted with weak keys - plan to re-encrypt or rotate any keys/ciphertexts produced by versions before 1.4.0, accepting the operational cost of a re-encryption pass. If an immediate upgrade is not possible, a compensating control is to supply your own randomly generated per-operation salt to HKDF (rather than relying on the library's default empty salt) and unique info values where the API permits, and to avoid reusing identical input key material across targets; the trade-off is that this requires code changes at every call site and careful key-management discipline.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openssl_encrypt is a Python encryption utility/library (PyPI project 'jahlives:openssl_encrypt') that wraps symmetric encryption workflows. HKDF (HMAC-based Key Derivation Function, RFC 5869) is designed as extract-then-expand: the extract step is meant to be seeded with a random, per-operation salt to bind derived keys to unique contexts, and the info parameter provides domain separation. By calling HKDF with an empty/absent salt and a fixed static info string, the library collapses these protections so that the same input key material always maps to the same output key. This is the classic CWE-326 (Inadequate Encryption Strength) failure mode - the primitive is sound but is configured to remove randomization, undermining the entropy-extraction guarantees HKDF normally provides.
Know when Openssl Encrypt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Deterministic key derivation weakens confidentiality against multi-target attacks (C:H), but requires collected ciphertexts and cryptanalysis (AC:H); no direct integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
The openssl_encrypt Python library (versions before 1.4.0) contains a critical cryptographic vulnerability that weakens encryption key security, increasing risk of data compromise for any application using this library. Attackers can exploit this weakness to decrypt data more efficiently across multiple targets. A patch is available, requiring immediate deployment across all systems to mitigate data breach risk.
Apply vendor patch: version 1.4.0
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Openssl Encrypt
View allArbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from i
Fingerprint-verification spoofing in jahlives openssl_encrypt before 1.4.9 lets attackers embed ANSI escape sequences in
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 allows attacker-supplied plugins to run wit
Arbitrary code execution in jahlives openssl_encrypt before 1.4.0 stems from an inconsistent sandbox: the runtime Plugin
Authentication bypass in the jahlives openssl_encrypt library (all versions before 1.4.0) lets remote unauthenticated at
Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate lim
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break ou
Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets a
Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions be
Arbitrary code execution in openssl_encrypt (the jahlives Python encryption utility) before 1.4.9 allows an attacker-sup
Arbitrary code execution in jahlives openssl_encrypt before 1.4.9 stems from a flawed plugin trust model that uses a den
Sensitive-token exposure in openssl_encrypt (the jahlives Python package, pip 'openssl-encrypt') before 1.4.0 stems from
EUVD-2026-60108
GHSA-fxcp-mjj5-v58w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB