Skip to main content
VulnerabilityPublished Updated

CVE-2025-47913: golang.org/x/crypto/ssh/agent · Improper Handling of Exceptional Conditions

Affects golang.org/x/crypto/ssh/agentSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Gogolang.org/x/crypto/ssh/agentpkg:golang/golang.org/x/crypto/ssh/agentOther threatsAffected
  • *
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations should monitor for official patches or updates from the golang.org/x/crypto project and apply them promptly once available. In the interim, developers should implement additional error handling around SSH agent responses to catch unexpected message types and prevent client panics. Employing SSH client wrappers or middleware that validate and sanitize agent responses can reduce risk. Network-level controls to restrict or monitor SSH agent communication may help detect anomalous messages indicative of exploitation attempts. Additionally, organizations should audit their Go-based SSH client usage to identify affected versions and consider temporary workarounds such as disabling SSH agent forwarding where feasible. Incorporating robust logging and alerting on SSH client crashes will aid in early detection of exploitation attempts. Finally, educating development and operations teams about this vulnerability ensures preparedness for patch deployment and incident response.

Description

CVE-2025-47913 is a high-severity vulnerability in the golang.org/x/crypto SSH agent package where SSH clients panic and terminate unexpectedly upon receiving an SSH_AGENT_SUCCESS message when a typed response is expected. This improper handling of exceptional conditions (CWE-703) leads to denial of service by crashing the client process without requiring authentication or user interaction. The vulnerability affects all versions of the golang.org/x/crypto/ssh/agent package and has a CVSS score of 7.5, indicating significant impact on availability. No known exploits are currently reported in the wild. European organizations using Go-based SSH clients that rely on this package may face service disruptions, particularly in critical infrastructure and development environments. Mitigation involves updating to patched versions once available and implementing robust error handling around SSH agent responses. Countries with strong software development sectors and critical infrastructure relying on Go are most at risk, including Germany, France, the UK, and the Netherlands.

References

Community reviews

Loading reviews…