Skip to main content

openssl_encrypt CVE-2026-74900

| EUVDEUVD-2026-60117 CRITICAL
Unchecked Error Condition (CWE-391)
2026-08-17 VulnCheck GHSA-7qj7-jv8m-rfjw
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain 16 bytes of victim private key
  2. Delivery
    Capture ciphertext and public encapsulated key
  3. Exploit
    Trigger or observe KEM decapsulation failure
  4. Execution
    Fallback derives deterministic shared secret
  5. Persist
    Recompute secret offline
  6. Impact
    Decrypt all protected ciphertext

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error condition checking
Exploitation Conditions

Two concrete prerequisites drive exploitation: (1) the KEM decapsulation path in pqc.py must fail so the silent 'simulation mode' fallback engages - this happens on any KEM error and, critically, without any exception being raised; and (2) the attacker must obtain 16 bytes of the target's private key, since the fallback shared secret is derived deterministically from exactly those 16 bytes plus the publicly available encapsulated key. Limiting factors that reduce realistic risk: the 128-bit partial-key requirement is not brute-forceable, so the attacker needs a real key-exposure vector, and impact is confined to environments actually running openssl_encrypt below 1.4.0 for KEM-based encryption. Where the KEM backend fails consistently by misconfiguration, condition (1) is permanently met, sharply increasing exposure.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:H, 9.3) treats this as a network, no-privilege, high-impact break, but the description imposes a concrete precondition that the vector does not capture: the attacker must possess 16 bytes of the private key (128 bits), which is not brute-forceable and implies some prior key exposure or a side channel - so real-world exploitability is meaningfully lower than a raw 9.3 suggests, and I would rate attack complexity as high rather than low. There is a second, arguably worse deployment case: if KEM decapsulation fails consistently in a given environment (e.g., a missing/misconfigured PQC backend), every message is silently protected only by the weak deterministic secret, turning a partial-key leak into full plaintext recovery. No EPSS score was provided in the input, the CVE is not in CISA KEV, and no public proof-of-concept is referenced, so this is best treated as a serious latent cryptographic weakness rather than an actively exploited threat - but because it silently voids the confidentiality guarantee the library exists to provide, any operator using it for at-rest or in-transit protection should prioritize upgrading regardless of the modest deployment footprint.

Exploit ScenarioDerived

An attacker who has captured ciphertext produced by openssl_encrypt <1.4.0 and who has separately obtained 16 bytes of the target's private key (via a partial leak, backup exposure, or side channel) combines those bytes with the public encapsulated-key data to recompute the deterministic shared secret and decrypt the traffic. In a worse variant, if the deployment's KEM backend fails every time, all messages are already protected only by this weak secret, so the partial key leak yields full plaintext. No public proof-of-concept is referenced in the available data.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 17, 2026

Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets an attacker reconstruct the KEM shared secret and decrypt all protected ciphertext once they obtain only 16 bytes of the private key. The flaw lives in pqc.py, where any post-quantum KEM decapsulation failure silently falls back to a 'simulation mode' that derives a deterministic secret from those 16 key bytes plus attacker-visible encapsulated-key data, rather than raising an error. Reported by VulnCheck; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade openssl_encrypt to version 1.4.0 or later, which is the primary and complete fix per GHSA-p3gq-pcg9-qvfv. Until you can upgrade, treat any data encrypted by an affected version as potentially compromised and re-encrypt it after updating, since the weak deterministic secret may already have been used. If immediate upgrade is not possible, the practical compensating control is to verify at the application level that KEM decapsulation actually succeeded and hard-fail (raise/abort) on any KEM error rather than accepting the produced secret - this eliminates the silent simulation-mode fallback but requires code changes and will cause previously 'succeeding' misconfigured deployments to start failing loudly, which is the intended safe behavior. Also rotate the affected private keys, because the design leaks security through partial (16-byte) key exposure. Advisories: https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p3gq-pcg9-qvfv and https://www.vulncheck.com/advisories/openssl-encrypt-before-weak-shared-secret-via-pqc-simulation-mode.

Affected VersionsENISA

openssl_encrypt 0 <1.4.0

Affected Packages

pypi openssl-encrypt fix: 1.4.0

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

The affected component is pqc.py, which implements post-quantum Key Encapsulation Mechanism (KEM) handling for the openssl_encrypt package (cpe:2.3:a:jahlives:openssl_encrypt). A KEM normally produces a high-entropy shared secret via decapsulation using the full private key; if decapsulation fails it must abort. Here the code instead swallows the failure and enters a fallback 'simulation mode' that deterministically computes the shared secret from just 16 bytes of the private key combined with the publicly transmitted encapsulated key. This maps to CWE-391 (Unchecked Error Condition): the error path is not surfaced, so a security-critical failure degrades silently into a weak, predictable keying operation instead of stopping. Because the encapsulated key is public and only 16 private-key bytes feed the derivation, the effective secret entropy collapses to whatever an attacker can learn about those 16 bytes.

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 9.3 CRITICAL
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
vuln.today AI 5.9 MEDIUM

Remote and unauthenticated, but AC:H because exploitation requires obtaining 16 specific private-key bytes plus a KEM failure; impact is confidentiality loss of decrypted data, with no direct integrity or availability effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/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
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
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
CRITICAL 9.3

DescriptionCVE.org

openssl_encrypt versions before 1.4.0 contain a critical vulnerability in pqc.py where KEM decapsulation failures silently fall back to simulation mode, generating a deterministic shared secret from only 16 bytes of the private key and publicly available encapsulated key data. Attackers who obtain 16 bytes of the private key can compute the shared secret and decrypt all ciphertext, as the fallback triggers on any KEM failure without raising an error.

Executive ViewAI

Why It Matters

A critical vulnerability in the openssl_encrypt Python library (versions before 1.4.0) enables attackers to decrypt all protected ciphertext if they obtain as little as 16 bytes of private key material. Any organization using this library faces complete loss of encrypted data confidentiality until patched.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Rare
obscure single-maintainer PyPI encryption library, negligible enterprise footprint
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

CVE-2026-81698 CRITICAL
9.3 Aug 27

Arbitrary command execution in jahlives' openssl_encrypt before 1.4.9 arises when the tool's 'info' command reconstructs

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