CVE-2025-47914 — x/crypto
MEDIUMCVE-2025-47914 is a medium-severity (CVSS 5.3) Out-of-bounds Read vulnerability in golang.org/x/crypto. A fix is available for golang.org/x/crypto — see the affected versions and patch details below.
Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
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-47914.
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/cryptoReal-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 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
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | golang.org/x/crypto | all versions | 0.45.0go get golang.org/x/crypto@v0.45.0 |
Affected Products
cryptogolangDetection & 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, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update golang.org/x/crypto to 0.45.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-47914 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
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 is rated Moderate for Red Hat products. The golang.org/x/crypto/ssh/agent library, when used in SSH Agent servers, does not properly validate the size of messages during new identity requests. A specially crafted malformed message can lead to an out-of-bounds read, causing the program to panic and…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for CVE-2025-47914 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Cert Manager support for Red Hat OpenShift release 1.17 | cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080 | RHSA-2026:82304 |
| Cert Manager support for Red Hat OpenShift release 1.17 | cert-manager/cert-manager-operator-rhel9:1791788287 | RHSA-2026:82322 |
| Cert Manager support for Red Hat OpenShift release 1.18 | cert-manager/cert-manager-istio-csr-rhel9:1791459759 | RHSA-2026:82354 |
| multicluster engine for Kubernetes 2.8 | multicluster-engine/backplane-rhel9-operator:1782476869 | RHSA-2026:30650 |
| OpenShift API for Data Protection 1.6 | oadp/oadp-velero-rhel9:1784058822 | RHSA-2026:43692 |
| Red Hat Ceph Storage 7.1 | rhceph/grafana-rhel9:1791450715 | RHSA-2026:83548 |
| Red Hat Ceph Storage 8.1 | rhceph/grafana-rhel9:1777566546 | RHSA-2026:15979 |
| Red Hat Ceph Storage 9.0 | rhceph/grafana-rhel10:1781018768 | RHSA-2026:26411 |
Frequently Asked Questions
Is CVE-2025-47914 in your dependencies?
Find it across Go, including transitive dependencies.