Vulnerability · Published Nov 19, 2025 · Assigned by Go

CVE-2025-47914Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent

Medium 5.3

In plain English

A medium-severity out-of-bounds read in golang.org/x/crypto/ssh/agent from golang.org/x/crypto. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 54.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23etcd3.6.8-r0ALPINE-CVE-2025-47914
Alpine:v3.24etcd3.6.8-r0ALPINE-CVE-2025-47914
Debian:12golang-go.cryptono fix listedDEBIAN-CVE-2025-47914
Debian:13golang-go.cryptono fix listedDEBIAN-CVE-2025-47914
Debian:14golang-go.crypto1:0.45.0-1DEBIAN-CVE-2025-47914
Gogolang.org/x/crypto0.45.0GHSA-f6x5-jh6r-wrfv
Gogolang.org/x/crypto0.45.0GO-2025-4135
Ubuntu:25.10golang-go.cryptono fix listedUBUNTU-CVE-2025-47914
Ubuntu:26.10golang-go.cryptono fix listedUBUNTU-CVE-2025-47914
Ubuntu:22.04:LTSsnapdno fix listedUBUNTU-CVE-2025-47914
Ubuntu:24.04:LTSsnapdno fix listedUBUNTU-CVE-2025-47914
Ubuntu:25.10snapdno fix listedUBUNTU-CVE-2025-47914
Ubuntu:26.04:LTSsnapdno fix listedUBUNTU-CVE-2025-47914
Ubuntu:26.10snapdno fix listedUBUNTU-CVE-2025-47914

Affected products (as reported)

VendorProductVersions
golang.org/x/crypto golang.org/x/crypto/ssh/agent 0 – before 0.45.0

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References