CVE-2026-81695: openssl_encrypt before 1.4.9 Terminal Injection via key_id

Published Aug 27, 2026
·
Updated

opensslencrypt versions before 1.4.9 fail to escape attacker-controlled keyid values printed to stderr during decrypt auto-detection. Attackers can craft encrypted files with malicious keyid containing escape sequences to repaint terminal output and forge authenticity verification blocks.

Affected Software

1 affected component
OpenSSL OpenSSL<1.4.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade openssl_encrypt to a version that resolves this vulnerability.

    Fixed in 1.4.9
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch Terminal Injection via key_id

Event History

Aug 27, 2026
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:20 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Users of affected openssl_encrypt versions who decrypt encrypted files from untrusted sources and view stderr in a terminal are exposed. The issue occurs during decrypt auto-detection when the file contains an attacker-controlled key_id.

2

What does an attacker need to exploit this vulnerability?

An attacker needs to provide a crafted encrypted file whose key_id includes terminal escape sequences. Exploitation also requires a user to decrypt that file, making this a user-interaction-dependent issue.

3

What is the security impact?

The crafted output can repaint terminal content and forge authenticity-verification blocks. The supplied severity data rates the impact as low, with low integrity impact and no confidentiality or availability impact.

4

Which versions should be updated?

openssl_encrypt versions before 1.4.9 are affected. Updating to version 1.4.9 or later addresses the stated vulnerable version range.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203