CVE-2026-81695

openssl_encrypt before 1.4.9 Terminal Injection via key_id

State
Published
Severity
9.3 Critical
Published
Aug 27, 2026
Updated
Oct 1, 2026
Reserved
Aug 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NVulnCheck

Weaknesses

  • CWE-117 Improper Output Neutralization for Logs

Affected Products

ProductVersions
openssl_encryptjahlives
  • before 1.4.9Affected
  • 1.4.9Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.