Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun code in multi-threaded process using openssl_encrypt
-
DeliveryWait for module-hiding phase to begin
-
ExploitTrigger concurrent import before hook installed
-
ExecutionRe-import blocked module and restore access
-
ImpactAudit log falsely reports zero restored
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log output neutralization
|
| Exploitation Conditions | The race-condition path requires a multi-threaded deployment of openssl_encrypt where a second thread can perform a module import during the specific window between module hiding and import-hook installation - single-threaded use or completing hook installation before starting other threads eliminates it. The logging defect requires only that restore_hidden_modules() be invoked, and it manifests unconditionally (audit log always shows zero restored). Limiting factors: both issues require code executing within the same process that uses this library (not a remote network entry point despite the AV:N in the supplied vector), the race demands precise timing giving it high practical complexity, and only versions before 1.4.0 are affected. |
| Impact | There is a strong conflict between the scored severity and the described technical impact that defenders should weigh carefully. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, base 9.3 Critical) implies remote, unauthenticated, no-interaction exploitation with high confidentiality, integrity and availability impact - but the description depicts a logging/audit defect and a local multi-threaded race condition in a Python library, neither of which plausibly delivers remote unauthenticated full-CIA compromise; verify this vector with the vendor as it appears inflated relative to the described behavior. Real-world exploitability is limited: the logging bug is a passive audit-integrity problem with no direct attacker action, and the race condition requires code already executing in the same multi-threaded process plus precise timing (high attack complexity). EPSS was not provided, the CVE is not KEV-listed, and no POC is referenced, so this is best treated as a low-to-moderate real-world risk despite the Critical numeric score - prioritize based on whether you actually depend on the module-hiding security feature. |
| Exploit ScenarioDerived | In a multi-threaded application relying on openssl_encrypt's module-hiding feature, an attacker (or attacker-influenced code path) already executing within the process triggers an import from a second thread during the narrow window before the import hook is installed, causing a module that was supposed to be blocked to be re-imported and its functionality restored. Meanwhile, the miscounting in restore_hidden_modules() leaves the audit log showing zero restored modules, so the bypass is not reflected in the trail. No public exploit code is identified at time of analysis, and the race requires precise timing in a concurrent environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Audit-trail corruption and a security-control race condition in the Python library openssl_encrypt (by jahlives) before version 1.4.0 undermine its module-hiding defenses. The restore_hidden_modules() function logs module counts after clearing them, so it always records zero restored modules and produces misleading audit logs (CWE-117), while a separate time-of-check/time-of-use race between module hiding and import-hook installation lets a concurrent thread re-import modules that were meant to be blocked. Reported by VulnCheck with a vendor patch available; no public exploit identified at time of analysis and it is not on CISA KEV.
RemediationAI
Upgrade openssl_encrypt to version 1.4.0 or later (Vendor-released patch: 1.4.0), which corrects both the restore_hidden_modules() log-count ordering and the module-hiding/import-hook race; follow the vendor advisory at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-43r4-3hf9-m84q. If you cannot upgrade immediately, reduce exposure to the race condition by avoiding concurrent imports during the module-hiding phase - perform module hiding and import-hook installation before spawning worker threads or under a global lock so no other thread runs imports in the window, accepting the trade-off of serialized startup. For the audit-trail defect, do not rely on the restored-module count emitted by restore_hidden_modules() as an accurate control until patched, and corroborate module-restore events with independent logging; there is no functional workaround that restores correct counts short of the patch.
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 package (CPE cpe:2.3:a:jahlives:openssl_encrypt) that implements a defensive feature to hide/block specific modules and install an import hook to prevent their reloading. The first issue is a CWE-117 (Improper Output Neutralization / incorrect logging) defect: restore_hidden_modules() emits the count of modules only after the internal collection has been cleared, so the log statement always reports zero, defeating the audit trail that would otherwise show what was restored. The second issue is a classic race condition (TOCTOU) in a multi-threaded context: there is a window between when modules are hidden and when the import hook is fully installed during which another thread can perform an import and reload a module that was supposed to remain blocked, bypassing the intended restriction.
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
Exploiting the race needs in-process code and precise timing (AV:L, AC:H, PR:L); impact is limited to bypassing a security control and corrupting audit integrity (I:L), with no confidentiality or availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 contain a logging bug in restore_hidden_modules() that logs module counts after clearing, always showing zero restored modules and corrupting audit trails. Additionally, a race condition exists between module hiding and import hook installation where another thread could re-import blocked modules in multi-threaded environments.
Executive ViewAI
The openssl_encrypt Python library (versions before 1.4.0) contains critical vulnerabilities in its module-hiding defenses and audit-trail mechanisms that could allow attackers to bypass security controls and produce misleading security logs. A race condition permits unauthorized module imports while an audit-logging flaw masks what modules are actually restored, undermining both detection and compliance capabilities. Organizations using affected versions face elevated risk of undetected security breaches and audit non-compliance.
Apply vendor patch.
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-60104
GHSA-9j5f-pjwj-62r3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB