CVE-2026-74885

openssl_encrypt before 1.4.0 Logging Bug and Race Condition

Published Aug 17, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*
Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:20 PM
Reserved
Aug 17, 2026, 10:36 AM
Status
Analyzed
Published
Aug 17, 2026, 11:16 AM
Modified
Sep 1, 2026, 3:27 PM