The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47913

CVE-2025-47913: Go SSH Client DoS Vulnerability

CVE-2025-47913 is a denial of service vulnerability in Go SSH that causes client panic when receiving unexpected SSH_AGENT_SUCCESS responses. This article covers technical details, affected versions, impact, and mitigation.

Published: March 11, 2026

CVE-2025-47913 Overview

CVE-2025-47913 is a denial of service vulnerability affecting the Go SSH library (golang.org/x/crypto/ssh). SSH clients using this library can experience a panic and subsequent process termination when receiving an unexpected SSH_AGENT_SUCCESS response from a malicious or compromised SSH agent. When the client expects a typed response but instead receives SSH_AGENT_SUCCESS, the improper handling triggers a reachable assertion that crashes the application.

Critical Impact

This vulnerability allows network-based attackers to crash Go-based SSH client applications without authentication, causing service disruption and potential denial of service across affected systems.

Affected Products

  • Go SSH library (golang.org/x/crypto/ssh)
  • Applications built using the affected Go SSH package
  • Go-based SSH clients and automation tools

Discovery Timeline

  • 2025-11-13 - CVE CVE-2025-47913 published to NVD
  • 2026-01-09 - Last updated in NVD database

Technical Details for CVE-2025-47913

Vulnerability Analysis

This vulnerability is classified under CWE-617 (Reachable Assertion), indicating that the application contains a reachable assertion that can be triggered by an external input, leading to process termination. The Go SSH client implementation does not properly handle protocol message type mismatches during SSH agent communication.

When an SSH client interacts with an SSH agent and expects a specific typed response (such as SSH_AGENT_IDENTITIES_ANSWER or SSH_AGENT_SIGN_RESPONSE), the code path assumes the response will conform to the expected message structure. A malicious SSH agent can exploit this by returning an SSH_AGENT_SUCCESS message instead, which lacks the expected typed payload. This type mismatch triggers a panic in the Go runtime, immediately terminating the client process.

The vulnerability is particularly concerning because it requires no authentication to exploit and can be triggered remotely over the network. Any application using the Go SSH library for client operations that communicate with potentially untrusted SSH agents is vulnerable to this denial of service attack.

Root Cause

The root cause of this vulnerability lies in insufficient message type validation within the SSH agent response handling code. The Go SSH library fails to properly validate that received protocol messages match the expected message types before attempting to parse them. When SSH_AGENT_SUCCESS is received instead of an expected typed response, the parsing logic encounters unexpected data structures, triggering an assertion failure and subsequent panic.

This represents a defensive programming oversight where the library trusts the SSH agent to always send correctly formatted responses without adequately validating message types before processing.

Attack Vector

The attack vector for CVE-2025-47913 operates through network-based SSH agent communication. An attacker who can position themselves as or compromise an SSH agent that the vulnerable client connects to can send malformed responses to trigger the vulnerability.

The attack scenario involves:

  1. A Go-based SSH client initiates communication with an SSH agent (which could be a rogue or compromised agent)
  2. The client sends a request expecting a specific typed response (e.g., requesting key identities or signatures)
  3. The malicious agent responds with SSH_AGENT_SUCCESS instead of the expected typed message
  4. The client's response handler panics when attempting to parse the unexpected message type
  5. The entire client process terminates abnormally

This attack requires no prior authentication and can be executed by any entity controlling an SSH agent endpoint that the client connects to. For technical implementation details, refer to the Go Language Issue Tracker and GitHub Security Advisory.

Detection Methods for CVE-2025-47913

Indicators of Compromise

  • Unexpected SSH client process crashes with panic stack traces referencing SSH agent operations
  • Application logs showing Go runtime panics in golang.org/x/crypto/ssh/agent package
  • Repeated SSH client failures when connecting through specific agent endpoints
  • Unusual SSH agent behavior returning unexpected message types

Detection Strategies

  • Monitor application logs for Go panic signatures related to SSH agent communication
  • Implement process monitoring to detect abnormal termination of SSH client applications
  • Deploy network traffic analysis to identify malformed SSH agent protocol responses
  • Use runtime instrumentation to track SSH agent message type mismatches

Monitoring Recommendations

  • Configure alerting for SSH client process crashes and unexpected terminations
  • Implement log aggregation to correlate SSH agent communication failures across systems
  • Monitor SSH agent connectivity and response patterns for anomalies
  • Track Go application health metrics including panic rates and process restarts

How to Mitigate CVE-2025-47913

Immediate Actions Required

  • Update the Go SSH library (golang.org/x/crypto/ssh) to the latest patched version
  • Rebuild and redeploy all applications using the vulnerable Go SSH package
  • Review SSH agent configurations to ensure connections only to trusted agents
  • Implement process supervision to automatically restart affected applications if crashes occur

Patch Information

The Go team has released a fix for this vulnerability. The patch is available through the official Go Language Code Review. Organizations should update to the patched version of golang.org/x/crypto/ssh as documented in the Go Vulnerability Report.

To update the dependency in your Go project:

bash
go get -u golang.org/x/crypto/ssh@latest
go mod tidy

Workarounds

  • Restrict SSH client applications to only connect to known, trusted SSH agent endpoints
  • Implement network segmentation to limit exposure of SSH agent communication channels
  • Deploy application-level recovery mechanisms to restart crashed SSH clients automatically
  • Consider using alternative SSH implementations until the patch can be applied
bash
# Example: Update Go SSH dependency and verify version
go get -u golang.org/x/crypto/ssh@latest
go list -m golang.org/x/crypto

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGo Ssh

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-617
  • Technical References
  • GitHub Security Advisory

  • Go Language Issue Tracker
  • Vendor Resources
  • Go Language Code Review

  • Go Vulnerability Report
  • Related CVEs
  • CVE-2025-22869: Go SSH Denial of Service Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English