Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker deploys malicious SSH server
-
DeliverySocial engineer or redirect victim to connect
-
ExploitVictim initiates SSH session via Tera Term
-
InstallServer sends crafted packets with inconsistent length fields
-
C2TTSSH2 performs out-of-bounds read/write
-
ExecuteAdjacent memory contents exfiltrated to attacker server
-
ImpactTera Term crashes or behaves abnormally
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Length parameter validation
|
| Exploitation Conditions | The victim must actively initiate an SSH connection from a Windows system running Tera Term with the TTSSH2 plugin to an SSH server controlled by the attacker. This requires user interaction (UI:R in the CVSS vector), meaning the attacker cannot exploit passively - they must lure the victim via phishing, DNS spoofing, BGP hijacking, or similar redirection techniques. The CVSS vector AV:N/AC:L/PR:N confirms no authentication or special system privileges are required on the attacker's side, and no complex preconditions are needed beyond establishing the malicious server. Exploitation is limited to the Tera Term client process; it does not affect SSH servers the victim normally connects to. The attack surface is Windows-only, restricted to users of the Tera Term terminal emulator specifically, and requires the TTSSH2 plugin to be active (which it is by default in standard Tera Term distributions). |
| Impact | The CVSS 3.0 score of 6.3 (Medium) reflects a balanced but real threat: AV:N/AC:L indicates the attack is network-reachable with low complexity, but UI:R caps severity because the victim must actively initiate the SSH connection to the attacker's server. The Unchanged scope (S:U) and partial C/I/A impacts (all Low) indicate limited blast radius per individual exploitation. No EPSS data was provided, so probabilistic exploitation likelihood cannot be quantified. The CPE wildcard version field (ttssh2:*) suggests all known TTSSH2 versions are affected, broadening exposure. Critically, the memory disclosure path - where out-of-bounds read contents are transmitted back to the attacker's server - could expose credentials or session artifacts beyond what the Low confidentiality rating implies. No KEV listing and no POC availability reduce urgency, but the social-engineering prerequisite is low-friction in phishing-prone environments. This is a real-risk issue for organizations whose users SSH to external or third-party servers. |
| Exploit ScenarioDerived | An attacker registers a domain, deploys a malicious SSH server, and delivers a phishing message or DNS-redirects a Tera Term user to connect to it. Upon connection initiation, the malicious server responds with SSH handshake packets containing deliberately inconsistent length fields. The TTSSH2 plugin processes these packets, performs out-of-bounds reads from adjacent heap memory, and transmits the leaked content back to the attacker's server - potentially exposing credentials buffered from a prior session or other sensitive process memory. No public proof-of-concept exploit is currently known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Out-of-bounds read/write in the TTSSH2 SSH plugin of Tera Term exposes users who connect to attacker-controlled SSH servers to memory disclosure and process crashes. A malicious SSH server can send crafted packets with inconsistent length parameters during connection establishment, causing the TTSSH2 plugin to read and write beyond allocated buffer boundaries - leaking adjacent memory contents (potentially including session data or credentials) back to the attacker's server. No public exploit or CISA KEV listing has been identified at time of analysis, but the low attack complexity and unauthenticated server-side position make this a credible threat for Tera Term users in environments where they may connect to untrusted SSH endpoints.
RemediationAI
Consult the TeraTerm Project security advisory at https://teratermproject.github.io/SA/JVN65294474-en.html for the official patched release version - no specific fixed version number was present in the intelligence data available for this analysis, so the exact upgrade target must be confirmed from the advisory before patching. As a compensating control for environments that cannot immediately upgrade, restrict Tera Term users from connecting to untrusted or external SSH servers by enforcing allowlists of permitted SSH endpoints at the firewall or endpoint policy level; this eliminates the attack vector at the cost of reduced operational flexibility. Additionally, user awareness guidance to avoid connecting to unfamiliar or unverified SSH hosts reduces exposure in the interim. Do not rely on SSH host key verification alone as a mitigation - the vulnerability triggers during connection setup before key trust decisions provide protection.
Affected VersionsENISA
Affected Packages
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
The vulnerability resides in the TTSSH2 plugin (CPE: cpe:2.3:a:teraterm_project:ttssh2:*:*:*:*:*:*:*:*), the SSH2 implementation bundled with the Tera Term terminal emulator for Windows. CWE-130 (Improper Handling of Length Parameter Inconsistency) identifies the root cause: the plugin fails to properly reconcile declared versus actual length fields in SSH protocol messages received during handshake, a classic pattern in binary protocol parsers where a length field is trusted without validation against buffer boundaries. The tags 'Buffer Overflow' and 'Ttssh2' confirm that the inconsistency results in memory safety violations - both out-of-bounds read (leaking memory to the server) and out-of-bounds write (potential for memory corruption). Reported and coordinated by JPCERT/CC under JVN#65294474, indicating this followed Japan's coordinated disclosure process.
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
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
Network vector confirmed by SSH protocol; PR:N because attacker controls the server and needs no client-side credentials; UI:R because victim must initiate the connection.
Primary rating from Vendor (jpcert).
CVSS VectorVendor: jpcert
Lifecycle Timeline
1DescriptionCVE.org
Improper Handling of Length Parameter Inconsistency (CWE-130) 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-45139
GHSA-qcvw-2hm7-q2rp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB