CVE-2025-47913 — ssh/agent
HIGHCVE-2025-47913 is a high-severity (CVSS 7.5) Reachable Assertion vulnerability in golang.org/x/crypto/ssh/agent. A fix is available for golang.org/x/crypto/ssh/agent — see the affected versions and patch details below.
golang.org/x/crypto/ssh/agent has a potential denial of service
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-47913.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
golang.org/x/crypto/ssh/agentReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
SSH clients receiving SSH_AGENT_SUCCESS when expecting a typed response will panic and cause early termination of the client process.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | golang.org/x/crypto/ssh/agent | all versions | 0.43.0go get golang.org/x/crypto/ssh/agent@v0.43.0 |
Affected Products
sshgoDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for golang.org/x/crypto/ssh/agent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update golang.org/x/crypto/ssh/agent to 0.43.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-47913 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability was marked as Important because it allows any malicious or misbehaving SSH agent to force a crash in the client process using a single valid protocol byte. The panic occurs before the client has a chance to validate message structure or recover, which means an attacker controlling—or…
No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.Source: Red Hat security advisory for CVE-2025-47913 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Ceph Storage 7.1 | ceph-2:18.2.1-381.el8cp | RHSA-2026:2769 |
| Red Hat Enterprise Linux 10 | buildah-2:1.41.8-1.el10_1 | RHSA-2026:0436 |
| Red Hat Enterprise Linux 10 | podman-7:5.6.0-11.el10_1 | RHSA-2026:0545 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | buildah-2:1.39.8-1.el10_0 | RHSA-2026:14868 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | podman-6:5.4.0-15.el10_0 | RHSA-2026:5167 |
| Red Hat Enterprise Linux 8 | container-tools:rhel8-8100020260114090145.afee755d | RHSA-2026:0753 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | container-tools:rhel8-8060020260422144418.ad008a3a | RHSA-2026:10703 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | container-tools:rhel8-8060020260515174849.ad008a3a | RHSA-2026:19634 |
Frequently Asked Questions
Is CVE-2025-47913 in your dependencies?
Find it across Go, including transitive dependencies.