Description
openssl_encrypt versions before 1.4.9 fail to escape attacker-controlled key_id values printed to stderr during decrypt auto-detection. Attackers can craft encrypted files with malicious key_id containing escape sequences to repaint terminal output and forge authenticity verification blocks.
Published: 2026-08-27
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication Bypass via Terminal Injection
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the fact that openssl_encrypt versions prior to 1.4.9 print a user‑controlled key_id directly to standard error without escaping control characters. Attackers can embed terminal escape sequences into the key_id field of an encrypted message, causing the tool to repaint or modify the terminal output during decryption auto‑detection. The injected code can also fabricate authenticity verification blocks, effectively forging proof of ownership or integrity. This results in a severe loss of trust in the data, allowing an attacker to masquerade as legitimate content or to alter output display without detection.

Affected Systems

The affected product is jahlives’ openssl_encrypt. All releases before version 1.4.9 are vulnerable; the fix is incorporated in version 1.4.9 and later. No other vendor or product variants are listed.

Risk and Exploitability

The CVSS score of 9.3 highlights the high severity, and while EPSS data is not available, the absence from the CISA KEV catalog does not mitigate the risk. The likely attack vector involves an attacker delivering a crafted encrypted file to a user who runs openssl_encrypt in an interactive terminal session. When the tool attempts to automatically detect decryption parameters, the unsanitized key_id is echoed, executing the injected escape sequences and forging authenticity checks. This local‑interaction scenario can be abused in shared or administrative environments and therefore represents a high likelihood of exploitation if the vulnerability is not addressed.

Generated by OpenCVE AI on August 27, 2026 at 18:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.9 or later.
  • When creating encrypted files, avoid using key IDs that contain any escape sequences or control characters.
  • If an upgrade is not immediately possible, run openssl_encrypt in a non‑interactive session or redirect stderr to a log file that is later sanitized to strip control characters before displaying or logging the output.

Generated by OpenCVE AI on August 27, 2026 at 18:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

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

Thu, 27 Aug 2026 18:00:00 +0000

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

Thu, 27 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description openssl_encrypt versions before 1.4.9 fail to escape attacker-controlled key_id values printed to stderr during decrypt auto-detection. Attackers can craft encrypted files with malicious key_id containing escape sequences to repaint terminal output and forge authenticity verification blocks.
Title openssl_encrypt before 1.4.9 Terminal Injection via key_id
Weaknesses CWE-117
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/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

Jahlives Openssl Encrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-27T19:26:27.084Z

Reserved: 2026-08-27T11:12:00.889Z

Link: CVE-2026-81695

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-08-27T17:20:59.597

Modified: 2026-09-01T20:20:58.383

Link: CVE-2026-81695

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T18:45:04Z

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs