Skip to main content

Tera Term TTSSH2 EUVDEUVD-2026-45140

| CVE-2026-58317 MEDIUM
Unsigned to Signed Conversion Error (CWE-196)
2026-07-17 jpcert GHSA-mmcg-pw3p-cwjh
5.1
CVSS 4.0 · Vendor: jpcert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker deploys malicious SSH server
  2. Delivery
    Social-engineer victim to connect via Tera Term
  3. Exploit
    TTSSH2 parses attacker-controlled SSH handshake data
  4. Execution
    Unsigned-to-signed conversion error triggers OOB read/write
  5. Persist
    Adjacent memory contents transmitted to attacker server
  6. Impact
    Client crashes or behaves abnormally

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

The victim must actively initiate an SSH connection from Tera Term (with TTSSH2 plugin active) to an SSH server controlled by the attacker - CVSS UI:R confirms this required user interaction. The attacker must operate or control a reachable SSH endpoint. No authentication or elevated privileges are required on the attacker side. Exploitation is limited to Windows systems running Tera Term with TTSSH2; users who do not use Tera Term for SSH, or who use an alternative SSH client, are not affected. The vulnerability is triggered during the connection establishment phase, so the victim does not need to authenticate to the malicious server.

Impact

The CVSS 3.0 base score of 6.3 (Medium) reflects a network-reachable flaw requiring no attacker privileges (PR:N, AV:N, AC:L) but mandating user interaction (UI:R), which is the primary real-world limiting factor. Exploitation requires the victim to actively initiate an SSH session toward an attacker-controlled server, making this a client-side vulnerability rather than a server-side one - the attack surface is users who connect to untrusted SSH endpoints. Confidentiality, integrity, and availability impacts are all rated Low, consistent with partial memory disclosure and the possibility of a crash rather than full code execution. No EPSS data was provided in the input; no CISA KEV listing exists; no public exploit code has been identified. The absence of a KEV listing and POC availability suggests this has not been actively exploited at scale. The realistic threat scenario involves targeted social engineering (phishing a link or hostname) rather than mass exploitation. The tags include 'Buffer Overflow,' which aligns with the OOB write component but the CVSS impact scores suggest constrained blast radius.

Exploit ScenarioDerived

An attacker stands up a malicious SSH server and delivers its hostname or IP to a target via phishing, a compromised jump-host list, or a fraudulent IT support message. When the victim opens Tera Term and connects to the server, the TTSSH2 handshake parsing triggers the integer conversion error, causing it to read beyond the intended buffer and transmit a slice of heap or stack memory back to the attacker's server, potentially containing credentials, session keys, or other sensitive data resident in the process at connection time. The client may also crash immediately after, leaving forensic indicators but no persistent access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 17, 2026

Out-of-bounds memory read and write in Tera Term's TTSSH2 SSH plugin exposes users who connect to attacker-controlled SSH servers to memory disclosure and potential client crashes. The root cause is an unsigned-to-signed integer conversion error (CWE-196) in the SSH connection handshake code, which can cause internal memory contents to be transmitted to the malicious server. No public exploit code has been identified at time of analysis, and no KEV listing exists, but the network-reachable nature with no privilege requirement on the attacker side makes social-engineering lures a realistic delivery vector.

RemediationAI

The primary remediation is to upgrade Tera Term to the fixed version specified in the vendor advisory at https://teratermproject.github.io/SA/JVN65294474-en.html - no exact patched version number was included in the available input data, so users must consult that page directly. As a compensating control pending upgrade, users should avoid connecting to SSH servers that are not explicitly trusted and operated by known parties; disabling the TTSSH2 plugin entirely in environments where SSH connectivity via Tera Term is not operationally required eliminates the attack surface. Network-level controls such as egress filtering to restrict outbound SSH (TCP 22) connections to an allowlist of trusted server IP addresses also constrain the exposure. The JPCERT/CC advisory is available at https://jvn.jp/en/jp/JVN65294474/.

Affected VersionsENISA

TTSSH2 1.00 alpha1 ≤3.6.1

Affected Packages

euvd ttssh2_1_00_alpha1 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TTSSH2 is the SSH subsystem plugin bundled with Tera Term, a widely used open-source terminal emulator for Windows maintained by TeraTerm Project. CWE-196 (Unsigned to Signed Conversion Error) occurs when a value typed as an unsigned integer is reinterpreted as a signed integer without bounds validation; if the high bit is set, the result is treated as a large negative number, causing array indexing or length calculations to underflow and access memory outside intended buffers. In an SSH handshake context, this class of bug typically appears in packet-length or field-length parsing, where the sign flip causes the code to read or write past buffer boundaries. The CPE string cpe:2.3:a:teraterm_project:ttssh2:*:*:*:*:*:*:*:* covers all known versions of TTSSH2 without a specified upper bound, indicating the affected range has not been narrowed in the available data. The JVN advisory (JVN#65294474) published by JPCERT/CC is the primary authoritative source.

Know when Ttssh2 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (jpcert) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.3 MEDIUM

Attacker requires no privileges and exploits over network (AV:N, PR:N), but victim must initiate connection to malicious server (UI:R); partial C/I/A impacts reflect bounded OOB access rather than full compromise.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (jpcert).

CVSS VectorVendor: jpcert

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 17, 2026 - 05:22 NVD
6.3 (MEDIUM) 5.1 (MEDIUM)

DescriptionCVE.org

Unsigned to Signed Conversion Error (CWE-196) vulnerability exists in TTSSH2 plugin of Tera Term provided by TeraTerm Project. When Tera Term attempts to establish an SSH connection to a server set up by an attacker, out-of-bounds read/write may occur. As a result, the contents of adjacent memory regions may be transmitted to the server, and Tera Term may behave unexpected or terminate abnormally.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular Windows terminal emulator, especially in Japanese enterprise environments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy