CVE-2025-47913 Potential denial of service in golang.org/x/crypto/ssh/agent
A malicious SSH agent can cause a client panic and termination by sending an unexpected success message, requiring a library upgrade.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-47913?
CVE-2025-47913 is a high-severity denial of service vulnerability in golang.org/x/crypto/ssh/agent, published on 13 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SSH clients receiving SSH_AGENT_SUCCESS when expecting a typed response will panic and cause early termination of the client process.
Weakness: CWE-617
Which versions are affected by CVE-2025-47913?
3 open source packages ship an affected version, including golang.org/x/crypto/ssh/agent and golang.org/x/crypto. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
golang.org/x/crypto/ssh/agent Go | All versions | 0.43.0 |
golang.org/x/crypto/ssh/agent Go | All versions | 0.43.0 |
golang.org/x/crypto Go | All versions | 0.43.0 |
Linux distribution packages (37)
buildah AlmaLinux:10 | All versions | 2:1.41.8-1.el10_1 |
buildah-tests AlmaLinux:10 | All versions | 2:1.41.8-1.el10_1 |
podman-docker AlmaLinux:10 | All versions | 7:5.6.0-11.el10_1 |
aardvark-dns AlmaLinux:8 | All versions | 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7 |
aardvark-dns AlmaLinux:8 | All versions | 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7 |
aardvark-dns AlmaLinux:8 | All versions | 2:1.10.1-2.module_el8.10.0+4047+545787c4 |
aardvark-dns AlmaLinux:8 | All versions | 2:1.10.1-2.module_el8.10.0+4089+ce72bbbe |
buildah AlmaLinux:8 | All versions | 2:1.33.14-1.module_el8.10.0+4102+6c76e544 |
buildah-tests AlmaLinux:8 | All versions | 2:1.33.14-1.module_el8.10.0+4102+6c76e544 |
cockpit-podman AlmaLinux:8 | All versions | 84.1-1.module_el8.10.0+4102+6c76e544 |
conmon AlmaLinux:8 | All versions | 3:2.1.10-1.module_el8.10.0+3970+8445edf6 |
conmon AlmaLinux:8 | All versions | 3:2.1.10-1.module_el8.10.0+4068+0e21408f |
conmon AlmaLinux:8 | All versions | 3:2.1.10-1.module_el8.10.0+4090+91932338 |
container-selinux AlmaLinux:8 | All versions | 2:2.229.0-2.module_el8.10.0+4090+91932338 |
containernetworking-plugins AlmaLinux:8 | All versions | 1:1.4.0-6.module_el8.10.0+4016+efd18bf8 |
containernetworking-plugins AlmaLinux:8 | All versions | 1:1.4.0-6.module_el8.10.0+4047+545787c4 |
containernetworking-plugins AlmaLinux:8 | All versions | 1:1.4.0-6.module_el8.10.0+4102+6c76e544 |
containers-common AlmaLinux:8 | All versions | 2:1-82.module_el8.10.0+3876+e55593a8 |
containers-common AlmaLinux:8 | All versions | 2:1-82.module_el8.10.0+3901+4b80ecd7 |
containers-common AlmaLinux:8 | All versions | 2:1-82.module_el8.10.0+4089+ce72bbbe |
crit AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3845+87b84552 |
crit AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3858+6ad51f9f |
crit AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3901+4b80ecd7 |
crit AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+4047+545787c4 |
criu AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3876+e55593a8 |
criu AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3909+6e1c1eb7 |
criu AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3970+8445edf6 |
criu AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+4089+ce72bbbe |
criu-devel AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3858+6ad51f9f |
criu-devel AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+4016+efd18bf8 |
criu-devel AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+4068+0e21408f |
criu-devel AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+4089+ce72bbbe |
criu-libs AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3909+6e1c1eb7 |
criu-libs AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3926+f12484f5 |
criu-libs AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+3970+8445edf6 |
criu-libs AlmaLinux:8 | All versions | 3.18-5.module_el8.10.0+4082+f7f0c95e |
crun AlmaLinux:8 | All versions | 1.14.3-2.module_el8.10.0+3858+6ad51f9f |
Products include Go Ssh.
How do I fix CVE-2025-47913?
Upgrade golang.org/x/crypto/ssh/agent to 0.43.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-47913 being exploited?
There is no known exploitation of CVE-2025-47913 in the wild and no public exploit code.
Other vulnerabilities in golang.org/x/crypto/ssh/agent
Sources
Also known as ALSA-2026:0436, ALSA-2026:0437, ALSA-2026:0470, ALSA-2026:0545, ALSA-2026:0753, AZL-70313 and 429 more.