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

Critical 9.3 Published Updated

Attackers can forge authenticity verification blocks by injecting escape sequences into key_id values printed to stderr during decryption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-81695?

CVE-2026-81695 is a critical vulnerability in Jahlives Openssl Encrypt, published on 27 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-117

Which versions are affected by CVE-2026-81695?

1 open source package ship an affected version, including openssl-encrypt. It affects 1 product.

PackageAffectedFixed in
openssl-encrypt PyPIAll versions1.4.9

Products include Jahlives Openssl Encrypt.

How do I fix CVE-2026-81695?

Upgrade openssl-encrypt to 1.4.9 or later.

Is CVE-2026-81695 being exploited?

There is no known exploitation of CVE-2026-81695 in the wild and no public exploit code.

All Jahlives Openssl Encrypt vulnerabilities

Sources

Also known as GHSA-jwfm-99h7-2w5x, GHSA-v9v6-j75g-2wmw, PYSEC-2026-3774.

Is CVE-2026-81695 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free