Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessExfiltrate credential store via separate vulnerability
-
DeliveryIdentify single-KDF sequential XOR configuration in use
-
ExploitExploit KDF last-stage cancellation flaw
-
ExecutionBrute-force hashes at SHA-256 throughput
-
ImpactRecover plaintext user passwords
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires two independent prerequisites: first, the target application must use jahlives/openssl_encrypt specifically in sequential XOR composition mode with exactly one KDF stage and no prior hashing stage - this is the precise configuration that triggers the algebraic cancellation and is not confirmed to be the default mode; second, the attacker must have independently obtained the encrypted or derived credential material through a separate compromise vector (database exfiltration, backup exposure, storage breach). The CVSS 4.0 vector (AV:L/PR:N) confirms the attack is a local, offline cracking operation requiring no privileges on any target system. Exploitation is bounded by: (1) the non-default single-KDF configuration requirement, which may limit the affected population; (2) the prerequisite secondary breach needed to acquire credential data; and (3) the computational effort still required to crack strong, long passwords even at SHA-256 speed. Whether the vulnerable configuration is a common or recommended usage pattern is not stated in available sources and represents a key unknown for fleet-wide risk assessment. |
| Impact | The CVSS 4.0 score of 6.9 with AV:L reflects that the attack is an offline, local operation - the attacker must first obtain ciphertext or derived key material through a separate breach vector before exploiting the KDF weakness. Confidentiality impact is high (VC:H) with no integrity or availability impact, and no subsequent system impact (SC:N/SI:N/SA:N). No EPSS data was provided in available sources, and the vulnerability does not appear in the CISA KEV catalog; no public exploit code has been identified, making this a disclosure-stage issue rather than an actively weaponized one. The key risk multiplier is severity of consequence: applications storing user passwords under the vulnerable single-KDF configuration are exposed to cracking at potentially billions of attempts per second on commodity hardware, completely defeating the memory-hard work factor. Real-world risk is meaningfully constrained by the non-default configuration requirement and the prerequisite that credential data must already be compromised, but organizations that meet both conditions face effectively zero KDF protection on their credential stores. |
| Exploit ScenarioDerived | An attacker who has exfiltrated a PHP application's password database - for example, via a SQL injection vulnerability or exposed backup file - determines that the application used jahlives/openssl_encrypt in single-KDF sequential XOR mode. Because the memory-hard KDF's last stage cancels out, the attacker's GPU cracking rig treats each candidate as a plain SHA-256 computation, reaching billions of attempts per second rather than the thousands-per-second rate the KDF was designed to impose, and recovers user passwords in a fraction of the intended time. No public exploit code implementing this attack has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Key derivation bypass in jahlives/openssl_encrypt PHP library before 1.4.6 allows offline password cracking at SHA-256 speed against credentials derived under the flawed sequential XOR composition mode. An algebraic cancellation in the key generation routine causes the memory-hard KDF's final stage to nullify itself, stripping the configured computational cost entirely and collapsing security to that of a single SHA-256 hash. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, but the impact is severe for any application storing user passwords in the vulnerable configuration.
RemediationAI
Upgrade jahlives/openssl_encrypt to version 1.4.6 or later, which corrects the sequential XOR key composition flaw; the vendor advisory is at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vxf9-vwp6-2w43 with additional technical context at https://www.vulncheck.com/advisories/openssl-encrypt-before-kdf-bypass-via-sequential-xor. For systems that cannot immediately upgrade, the effective compensating control is to reconfigure the library to avoid the vulnerable path: adding an explicit pre-hashing stage before the KDF, or using multi-stage KDF composition rather than a single-stage mode, prevents the cancellation from occurring - note that this configuration change will require re-deriving and re-storing any existing password hashes, and may necessitate a forced password reset for all users. Any credential material that was derived or encrypted under the vulnerable single-KDF sequential XOR configuration should be treated as potentially crackable at SHA-256 speed and rotated after the patch is applied.
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
jahlives/openssl_encrypt (CPE: cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*) is a PHP library providing a higher-level interface for symmetric encryption with key derivation. The root cause is CWE-916 (Use of Password Hash With Insufficient Computational Effort). In sequential XOR composition mode, multiple derivation stages are XOR-combined to produce final key material; however, an implementation error causes the last KDF stage to cancel itself out algebraically during key generation. This reduces the effective key hardening from a deliberately expensive memory-hard function - such as scrypt, bcrypt, or Argon2 - to raw SHA-256 hashing. The flaw is triggered specifically when the library is configured with a single KDF stage and no prior hashing stage, meaning the cancellation error has no intermediate result to preserve. The underlying cryptographic primitives are not themselves flawed; the bug is in the composition logic.
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:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
AV:L for offline cracking operation; AC:H because exploitation requires specific non-default single-KDF configuration; PR:N as cracking needs no target system privileges; C:H as passwords become recoverable.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.6 contain a key derivation flaw in sequential XOR composition mode where the last stage cancels out during key generation. When configured with a single KDF and no prior hashing stage, attackers can bypass memory-hard key derivation and perform offline password cracking at SHA-256 speed instead of the configured KDF cost.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-60090
GHSA-pj8r-rv9w-cfg8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB