CVE-2025-47914 Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
A malformed message in the Go SSH agent library causes an out-of-bounds read and panic, leading to denial of service.
- 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-47914?
CVE-2025-47914 is a medium-severity denial of service vulnerability in golang.org/x/crypto/ssh/agent, published on 19 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message is malformed due to an out of bounds read.
Weakness: CWE-125
Which versions are affected by CVE-2025-47914?
3 open source packages ship an affected version, including golang.org/x/crypto. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
golang.org/x/crypto Go | All versions | 0.45.0 |
golang.org/x/crypto Go | All versions | 0.45.0 |
golang.org/x/crypto Go | All versions | 0.45.0 |
Linux distribution packages (8)
podman SUSE:Enterprise Storage 7.1 | All versions | 4.9.5-150300.9.69.1 |
podman SUSE:Linux Enterprise Micro 5.2 | All versions | 4.9.5-150300.9.69.1 |
podman SUSE:Linux Enterprise Micro 5.3 | All versions | 4.9.5-150400.4.65.2 |
podman SUSE:Linux Enterprise Micro 5.4 | All versions | 4.9.5-150400.4.65.2 |
podman SUSE:Linux Enterprise Micro 5.5 | All versions | 4.9.5-150500.3.62.2 |
podman SUSE:Linux Enterprise Module for Containers 15 SP7 | All versions | 4.9.5-150500.3.62.2 |
podman openSUSE:Leap 15.6 | All versions | 4.9.5-150500.3.62.2 |
amazon-ssm-agent openSUSE:Tumbleweed | All versions | 3.3.5678.0-1.1 |
Products include Golang Crypto.
How do I fix CVE-2025-47914?
Upgrade golang.org/x/crypto to 0.45.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-47914 being exploited?
There is no known exploitation of CVE-2025-47914 in the wild and no public exploit code.
Other vulnerabilities in golang.org/x/crypto/ssh/agent
- CVE-2026-46595 Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
- CVE-2026-39830 Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
- CVE-2026-39831 Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
- CVE-2026-39832 Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
- CVE-2026-39833 Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
Sources
Also known as CLEANSTART-2026-AG71066, CLEANSTART-2026-AR39396, CLEANSTART-2026-CU11188, CLEANSTART-2026-FK94872, CLEANSTART-2026-IO00770, CLEANSTART-2026-IS39443 and 404 more.