Skip to main content

Tera Term TTSSH2 EUVDEUVD-2026-45139

| CVE-2026-60060 MEDIUM
Improper Handling of Length Parameter Inconsistency (CWE-130)
2026-07-17 jpcert GHSA-qcvw-2hm7-q2rp
5.1
CVSS 4.0 · Vendor: jpcert
View

Attack ChainAIDerived

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

  1. Recon
    Attacker deploys malicious SSH server
  2. Delivery
    Social engineer or redirect victim to connect
  3. Exploit
    Victim initiates SSH session via Tera Term
  4. Install
    Server sends crafted packets with inconsistent length fields
  5. C2
    TTSSH2 performs out-of-bounds read/write
  6. Execute
    Adjacent memory contents exfiltrated to attacker server
  7. Impact
    Tera 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.

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

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

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

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

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.

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

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

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular Windows SSH terminal emulator, widely used among Japanese IT administrators
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