CVE-2026-81707

openssl_encrypt before 1.4.9 ANSI Escape Injection via Identity Email

Published Aug 27, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
openssl_encrypt before 1.4.9 fails to sanitize the email field of imported identity documents, allowing attackers to inject ANSI escape sequences that forge the fingerprint verification line displayed to users. Attackers can deliver a crafted identity bundle through normal contact-exchange flows or keyserver responses to manipulate terminal output and display a fraudulent fingerprint, bypassing the out-of-band verification mechanism that protects against key substitution attacks.

Analysis

AI-generated

Technical impact

The vulnerability arises because openssl_encrypt does not sanitize the email field of imported identity documents, allowing an attacker to embed ANSI escape sequences. When the identity bundle is processed, these sequences alter the terminal output to forge the fingerprint verification line shown to the user. This manipulation causes the user to trust an attacker‑supplied key as valid, subverting the out‑of‑band verification intended to protect against key substitution attacks. The weakness is an input validation failure (CWE‑20) that enables spoofed authentication display.

Affected Systems

The affected software is the openssl_encrypt library maintained by jahlives, any version prior to 1.4.9. The library is used in contact‑exchange flows and keyserver responses that import identity documents, so any deployment that relies on this component is susceptible. No other specific vendor or product information is listed.

Risk and Exploitability

The CVSS score of 9.3 classifies this as critical. EPSS information is not available, but the lack of a KEV listing does not diminish the severity. An attacker must successfully deliver a crafted identity bundle through normal contact‑exchange or keyserver interactions, which typically involves a compromised or malicious peer. Once executed, the attacker can deceive users into accepting a forged fingerprint, enabling credential substitution. The likely vector is the standard contact‑exchange or keyserver flow, with prerequisites including the user processing the malicious identity document.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update openssl_encrypt to v1.4.9 or later to apply the fix that sanitizes the email field.
  • Implement custom sanitization that removes or encodes ANSI escape sequences from the email field of identity documents before processing, addressing the input validation weakness (CWE‑20).
  • Restrict or monitor contact‑exchange and keyserver responses to trusted or signed identity bundles, and verify fingerprints through out‑of‑band channels to avoid relying on terminal display.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt
Type Values Removed Values Added
Description openssl_encrypt before 1.4.9 fails to sanitize the email field of imported identity documents, allowing attackers to inject ANSI escape sequences that forge the fingerprint verification line displayed to users. Attackers can deliver a crafted identity bundle through normal contact-exchange flows or keyserver responses to manipulate terminal output and display a fraudulent fingerprint, bypassing the out-of-band verification mechanism that protects against key substitution attacks.
Title openssl_encrypt before 1.4.9 ANSI Escape Injection via Identity Email
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

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

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Aug 27, 2026, 11:12 AM
Status
Deferred
Published
Aug 27, 2026, 5:21 PM
Modified
Sep 23, 2026, 5:17 PM