Skip to main content

openssl_encrypt CVE-2026-74871

| EUVDEUVD-2026-60090 MEDIUM
Use of Password Hash With Insufficient Computational Effort (CWE-916)
2026-08-17 VulnCheck GHSA-pj8r-rv9w-cfg8
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Exfiltrate credential store via separate vulnerability
  2. Delivery
    Identify single-KDF sequential XOR configuration in use
  3. Exploit
    Exploit KDF last-stage cancellation flaw
  4. Execution
    Brute-force hashes at SHA-256 throughput
  5. Impact
    Recover 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

openssl_encrypt 0 <1.4.6

Affected Packages

pypi openssl-encrypt fix: 1.4.6

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.1 MEDIUM

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.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 12:01 EUVD
CVE Published
Aug 17, 2026 - 11:04 cve.org
MEDIUM 6.9

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

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche PHP encryption wrapper library, limited enterprise deployment footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-74872 CRITICAL
9.3 Aug 17

Arbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from i

CVE-2026-81707 CRITICAL
9.3 Aug 27

Fingerprint-verification spoofing in jahlives openssl_encrypt before 1.4.9 lets attackers embed ANSI escape sequences in

CVE-2026-74895 CRITICAL
9.3 Aug 17

Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 allows attacker-supplied plugins to run wit

CVE-2026-74886 CRITICAL
9.3 Aug 17

Arbitrary code execution in jahlives openssl_encrypt before 1.4.0 stems from an inconsistent sandbox: the runtime Plugin

CVE-2026-74894 CRITICAL
9.3 Aug 17

Authentication bypass in the jahlives openssl_encrypt library (all versions before 1.4.0) lets remote unauthenticated at

CVE-2026-74878 CRITICAL
9.3 Aug 17

Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate lim

CVE-2026-74899 CRITICAL
9.3 Aug 17

Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break ou

CVE-2026-74900 CRITICAL
9.3 Aug 17

Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets a

CVE-2026-74896 CRITICAL
9.3 Aug 17

Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions be

CVE-2026-81719 CRITICAL
9.3 Aug 27

Arbitrary code execution in openssl_encrypt (the jahlives Python encryption utility) before 1.4.9 allows an attacker-sup

CVE-2026-81701 CRITICAL
9.3 Aug 27

Arbitrary code execution in jahlives openssl_encrypt before 1.4.9 stems from a flawed plugin trust model that uses a den

CVE-2026-74880 CRITICAL
9.3 Aug 17

Sensitive-token exposure in openssl_encrypt (the jahlives Python package, pip 'openssl-encrypt') before 1.4.0 stems from

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy