Description
openssl_encrypt versions before 1.4.0 contain an arbitrary code execution vulnerability in the Whirlpool hash implementation that uses broad glob patterns to load .so modules without integrity verification. Attackers can place malicious .so files matching the whirlpool*py313*.so pattern in site-packages directories to achieve native code execution when the module is loaded.
Published: 2026-08-17
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in openssl_encrypt implementations before version 1.4.0, where the Whirlpool hash module employs universal glob patterns to load shared object files without verifying their integrity. When an attacker supplies a malicious .so file that matches the pattern whirlpool*py313*.so into a site‑packages directory, the loader imports it into the running process, allowing the execution of native machine code. This flaw is categorized as CWE-426, representing an insecure design that permits uncontrolled use of third‑party modules.

Affected Systems

The affected product is the openssl_encrypt library, version 1.4.0 and earlier. The flaw is relevant for deployments that use the Python bindings for this library and have site‑packages directories writable by an attacker. No other vendors or product variants are listed; the issue is confined to this library version range.

Risk and Exploitability

The CVSS score of 9.3 classifies this exploit as critical. The EPSS score is not available, so the exact probability of exploitation is uncertain, but the lack of integrity checks means that if an attacker can place files in a site‑packages path, successful exploitation is highly likely. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by writing a malicious shared object into a site‑packages directory that the Whirlpool module scans and then triggering a call to openssl_encrypt to make the loader import the injected module.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.0 or later, which removes the vulnerable glob‑based loading mechanism.
  • If an immediate upgrade is not possible, restrict write access to the site‑packages directories used by the application so that only trusted users can add libraries.
  • Implement a verification step or file whitelisting for any shared objects loaded by Whirlpool, or disable the dynamic loading feature if it is not required.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*

Fri, 21 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt

Tue, 18 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, '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 an arbitrary code execution vulnerability in the Whirlpool hash implementation that uses broad glob patterns to load .so modules without integrity verification. Attackers can place malicious .so files matching the whirlpool*py313*.so pattern in site-packages directories to achieve native code execution when the module is loaded.
Title openssl_encrypt before 1.4.0 Arbitrary Code Execution via Whirlpool
Weaknesses CWE-426
References
Metrics cvssV3_1

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

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

Jahlives Openssl Encrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T14:35:59.055Z

Reserved: 2026-08-17T10:31:04.593Z

Link: CVE-2026-74872

cve-icon Vulnrichment

Updated: 2026-08-18T14:35:46.084Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-08-31T15:51:05.287

Link: CVE-2026-74872

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:41:10Z

Weaknesses