Description
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.
Published: 2026-08-17
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

openssl_encrypt versions prior to 1.4.0 contain a logging bug in the restore_hidden_modules() function. When modules are hidden, the function clears the module count and then logs the number of restored modules, but it reports zero even when modules are successfully restored. This behavior corrupts audit trails, making it difficult to detect unauthorized module use or tampering. Additionally, a race condition exists between module hiding and the import hook installation, allowing another thread to re‑import blocked modules in multi‑threaded environments. The combination of inaccurate audit records and the race condition can enable an attacker to bypass security controls or cover malicious activity by exploiting timing differences.

Affected Systems

The vulnerability affects the openssl_encrypt library provided by the vendor jahlives. All releases before version 1.4.0 are susceptible. The product is commonly used in Python applications that perform cryptographic operations and module import monitoring.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector involves an application that performs concurrent module hiding and imports under a multi‑threaded runtime. An attacker who can influence the timing of these operations may trigger the race condition to re‑import hidden modules, while the corrupted logs provide plausible deniability. Although a precise exploitation path is not detailed in the advisory, the high severity and absence of known mitigations suggest that the vulnerability poses a significant risk in environments that rely on the compromised library.

Generated by OpenCVE AI on August 17, 2026 at 12:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.0 or later.
  • In environments where an upgrade cannot be applied immediately, modify application flow to serialize module restoration and import hook installation, ensuring no concurrent execution of restore_hidden_modules() and module imports.
  • Disable or correct logging in restore_hidden_modules() so that it records the actual count of restored modules rather than always reporting zero, or temporarily suppress this log entry until the library is updated.

Generated by OpenCVE AI on August 17, 2026 at 12:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description 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.
Title openssl_encrypt before 1.4.0 Logging Bug and Race Condition
Weaknesses CWE-117
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T14:42:43.598Z

Reserved: 2026-08-17T10:36:18.506Z

Link: CVE-2026-74885

cve-icon Vulnrichment

Updated: 2026-08-17T14:42:40.247Z

cve-icon NVD

Status : Received

Published: 2026-08-17T11:16:43.260

Modified: 2026-08-17T15:16:58.797

Link: CVE-2026-74885

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T13:00:13Z

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs