# 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.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 19 Nov 2025
- **Updated:** 20 Nov 2025
- **Also known as:** CLEANSTART-2026-AG71066, CLEANSTART-2026-AR39396, CLEANSTART-2026-CU11188, CLEANSTART-2026-FK94872, CLEANSTART-2026-IO00770, CLEANSTART-2026-IS39443, CLEANSTART-2026-KD86605, CLEANSTART-2026-KZ19518, CLEANSTART-2026-MZ65178, CLEANSTART-2026-PR49878, CLEANSTART-2026-RW00799, CLEANSTART-2026-VX91878, CLEANSTART-2026-XA48515, DEBIAN-CVE-2025-47914, ECHO-66d8-8aea-2de6, GHSA-f6x5-jh6r-wrfv, GO-2025-4135, MINI-225g-3jhq-fmr5, MINI-225q-4rf2-892w, MINI-2358-mvx5-vmgx, MINI-23w4-3j33-gc9c, MINI-245p-63j4-p8cj, MINI-27wm-3fwj-532r, MINI-27xq-77x2-ch34, MINI-28j8-xwcj-cm5m, MINI-28xf-7j48-74qp, MINI-2c8f-h8fw-v9rq, MINI-2cg7-g3h2-64jv, MINI-2gcq-fg7q-82jq, MINI-2hj2-2gv4-vg6v, MINI-2qrf-29hc-33rj, MINI-2rw6-w88w-8m4m, MINI-2ww9-f2gv-wwjf, MINI-32g5-9p4x-74h4, MINI-333j-3h2r-6qwf, MINI-3349-78fr-jpr5, MINI-33g4-3cj8-67h3, MINI-3434-m2h8-cgrj, MINI-34q5-ww5r-5vjx, MINI-3566-w6gh-2xgg, MINI-358m-qwf8-mmvr, MINI-3592-2wc4-rqr8, MINI-36rc-f9p7-g2wr, MINI-37p6-937h-c87q, MINI-3f87-7j67-3p39, MINI-3fqq-j6xf-x753, MINI-3ghc-35j4-ch2m, MINI-3p33-mw6h-55w8, MINI-3rv6-pmfx-x63f, MINI-3rwq-5jfr-27h3, MINI-3v44-q3pc-2x97, MINI-3vjv-28x5-7wpp, MINI-3w3w-h9w4-5r4v, MINI-3wvm-c475-x846, MINI-3x4c-33pw-9cgq, MINI-3xx6-99v4-2xf2, MINI-43cr-3x6h-33g5, MINI-4576-r864-5xpf, MINI-45j4-6fw8-9rrg, MINI-45vq-xv8h-f7g9, MINI-47hq-c333-42qh, MINI-47px-r7j5-9f6p, MINI-4c49-87pw-4648, MINI-4fqx-qhcp-3m5g, MINI-4m4h-p76m-wqcv, MINI-4qrw-7qxj-g4jw, MINI-4v8v-c88h-9548, MINI-4v99-g5hc-27vw, MINI-4vfm-mrch-qxcg, MINI-4w53-v28w-7c62, MINI-52wj-cvhv-9gvm, MINI-53gx-rx2h-qghg, MINI-53vp-pphc-rrqr, MINI-554m-jpqv-6cg6, MINI-55q8-pfj9-vx7w, MINI-57r2-p2m8-297h, MINI-5c5p-wg3q-4h58, MINI-5gq2-3v8p-9778, MINI-5jfc-rvg8-cx7v, MINI-5mfp-m759-5558, MINI-5mqm-56rc-wc2g, MINI-5q92-8qwv-w3j5, MINI-5r44-gqjm-86hx, MINI-5r4c-fr7v-762j, MINI-5v6m-fxfw-7w9x, MINI-62c9-h77c-v458, MINI-635h-g7gc-528c, MINI-64rw-p5qq-qw2p, MINI-64v8-6p5g-3hv9, MINI-6523-4cf7-g36w, MINI-653j-chhp-9xqg, MINI-66h2-hxv7-fccg, MINI-68p4-x8g3-852p, MINI-6923-3rrj-592v, MINI-69mr-4qcg-c6w9, MINI-6cq2-pwq6-ggqg, MINI-6ggr-7qrw-76xq, MINI-6vpg-w9vw-7gv7, MINI-6vxr-5qhf-8crm, MINI-6wcf-868v-82qw, MINI-6xgf-mx5q-m4mp, MINI-74g2-xq62-cqr8, MINI-777r-3cf3-wfvx, MINI-78xp-rfcr-h6j3, MINI-79fw-g5pr-m257, MINI-79w5-fm34-3cf4, MINI-7f4f-93xp-vprj, MINI-7fq5-82c5-hw63, MINI-7g7w-wv9g-m7p4, MINI-7gc8-m62c-5g4w, MINI-7hhg-c3fc-5pw8, MINI-7hw5-hm54-6h4q, MINI-7jxv-2c2v-fwgw, MINI-7m8r-9w67-mf3p, MINI-7mj6-77xv-fr2f, MINI-7q54-8j79-fg23, MINI-7qx2-frr4-jhrc, MINI-7r36-g3h3-6w75, MINI-7vw5-6683-g5jw, MINI-83hv-3ffw-r3vg, MINI-84wm-4mp6-373m, MINI-85gw-j4mm-prx8, MINI-8722-f4fp-2qhq, MINI-885g-hv3c-g985, MINI-8cmm-v243-j4jr, MINI-8cmw-7jx3-45jp, MINI-8f8f-m9m6-7wph, MINI-8fx6-8r2w-6995, MINI-8g4p-qcwm-xwjr, MINI-8m3f-qrj8-xx4c, MINI-8p9v-cvfp-q88j, MINI-8pr3-vq32-3394, MINI-8qj4-4mvg-mxjm, MINI-8wc3-6cc3-wj4h, MINI-8wj8-f995-3g8q, MINI-8xmm-g9hm-xp8v, MINI-8xqh-7g2x-mpv9, MINI-9272-7mc4-p2vj, MINI-93pq-3c6p-j866, MINI-967w-rx5q-35h3, MINI-977q-6ghc-2cx6, MINI-97gx-h2mw-j4p5, MINI-97r4-pq8v-c666, MINI-992p-pmpw-jmm3, MINI-9gjq-h7x5-3r8j, MINI-9gq3-rg42-j6wg, MINI-9hfq-9cvm-pmwh, MINI-9hrf-5737-73q5, MINI-9mcc-28qw-jvf8, MINI-9w5x-rmj3-m59j, MINI-9w8h-jh2j-qfh5, MINI-9w92-4mg5-64r9, MINI-9wmf-qqx4-6qxm, MINI-c45v-xhg3-g5hh, MINI-c4fw-9rvv-f5gf, MINI-c4qc-fg84-j6qr, MINI-c598-cqxv-gv4j, MINI-c8gp-hgrq-qc8h, MINI-c975-925g-8978, MINI-ccjr-349p-qqj7, MINI-cf3j-26r4-q37j, MINI-chp2-9h4c-j3vp, MINI-cm9r-mvg3-r4r8, MINI-cmg5-c858-hmw4, MINI-cmhc-mh2x-vghv, MINI-cr6j-73hf-rhpc, MINI-cvhj-f35q-xmw6, MINI-cw49-35ch-x33x, MINI-cwg6-g5m3-h59p, MINI-cx9v-xjmj-5qmf, MINI-f2wm-89hr-ggg6, MINI-f38v-6vg3-5rjm, MINI-f39j-q483-8mpx, MINI-f428-2pw8-358p, MINI-f495-4frp-fgf4, MINI-f4c5-8v8q-7mgq, MINI-f5m8-jwp4-8p4h, MINI-f5p8-x2pc-wgg7, MINI-f5qc-9cwg-g85h, MINI-f7h7-4pjm-45qh, MINI-f7h7-8qh3-9x6p, MINI-f7jf-vff6-jq5r, MINI-f7mp-94cv-qc62, MINI-f7mv-h53g-vmrf, MINI-f8wp-67gx-6242, MINI-f8wp-vw3v-f256, MINI-f8xp-xxjw-2j84, MINI-fc8q-74v7-vj65, MINI-fcm9-v46w-9w4x, MINI-ffpv-2j52-qm56, MINI-fg38-3p5h-2ccc, MINI-fg7j-3hc2-8mhh, MINI-fhmv-q6pr-hfvf, MINI-fhqm-gq7c-gj8v, MINI-fjg2-383m-mvmm, MINI-fjh4-28x8-cggj, MINI-fqf2-v6j7-6wp5, MINI-fx4g-4g66-gvvp, MINI-g232-fm3g-jq3g, MINI-g4mf-v5rh-47v3, MINI-g6f2-g7x4-pwm6, MINI-gcqv-4fp8-xw84, MINI-ggg7-v2j2-x675, MINI-gh8w-hfqg-fxh5, MINI-gj27-rp39-6rcm, MINI-gm6g-8p33-966f, MINI-gqj3-6p2j-mrp8, MINI-grgr-crhh-rf34, MINI-grxq-35hh-p87h, MINI-gwv6-vh3v-3hq8, MINI-gxf6-8338-x6q2, MINI-h2wf-qqm8-74hf, MINI-h4g3-563p-9g5v, MINI-h53v-8wh6-4wf3, MINI-h5v3-gfp8-rfmv, MINI-h6vf-cc8j-wm47, MINI-h87v-pq53-mpwp, MINI-h887-52fc-8ph9, MINI-h95r-gw8m-5vg4, MINI-h9vf-jq2v-xf43, MINI-hgh6-q386-m92w, MINI-hgvm-qjqj-8jxv, MINI-hhmr-5p7f-p8h3, MINI-hm58-mxvm-9c94, MINI-hp66-42g7-4jh2, MINI-hpvv-x9qc-776g, MINI-hq2w-cgjw-44p9, MINI-hqfm-fvv7-5j8q, MINI-hrxj-gqmp-pwxc, MINI-hwrf-gpm3-4hcw, MINI-hwx8-h6cq-wv2q, MINI-hx9x-4cxc-7gfh, MINI-j262-pwm7-2pwj, MINI-j38m-2vwv-q6jm, MINI-j3j7-2c6w-hhvv, MINI-j47v-fvv6-v9jc, MINI-j56h-x5ph-h6fc, MINI-j5m9-h8r2-4mc8, MINI-j7hf-xmmj-7f55, MINI-j9hq-pq74-f746, MINI-jchj-gjwh-p99p, MINI-jcmq-xgf8-8xph, MINI-jfh2-9gfj-7fxj, MINI-jfmv-mf9v-g86h, MINI-jgg3-82w7-xc5j, MINI-jgmh-mwg7-xwqq, MINI-jgpw-3q6g-x68x, MINI-jgqw-82c9-g8gc, MINI-jh5j-jgcm-w78r, MINI-jhrf-mq8r-v2c4, MINI-jjrh-h7h6-2gcc, MINI-jqwx-r2q8-6pm5, MINI-jrjr-ppwr-6hmg, MINI-jx7x-fcff-9cx6, MINI-m3hf-8jcv-m8gw, MINI-m5g2-vxc3-j5r3, MINI-m8gh-gcvp-j52j, MINI-m8v5-m6r9-mq8x, MINI-mc88-hf2w-j447, MINI-mf6f-524g-f8hh, MINI-mf76-r8gr-fpg4, MINI-mfjv-jp5c-723q, MINI-mg72-rv9p-x3jc, MINI-mhxx-f7v2-jpmp, MINI-mjrv-gxwp-8pwr, MINI-mm4p-gxg9-rqp6, MINI-mqc2-56wq-5mr8, MINI-mqjh-wr22-gcvx, MINI-mvg7-4c2m-qhwj, MINI-mx65-86w3-6cw3, MINI-mxg3-9xx3-h5vv, MINI-p32c-6w8g-8q88, MINI-p3v6-65qj-cq9h, MINI-p449-3jwm-85jw, MINI-p48p-2qqr-qw4h, MINI-p4gr-wmr4-5wgw, MINI-p4q2-2h56-6389, MINI-p5jf-rrwx-fx76, MINI-p5q8-ff6h-5wwf, MINI-p77x-92xg-78rf, MINI-pc3v-3fp6-5hvg, MINI-pc6r-mjxh-vv3x, MINI-pchw-xgm5-jxv7, MINI-pcpx-chgg-rgpp, MINI-ph23-r8xf-gv96, MINI-ph52-j44x-8ff5, MINI-phm8-vj54-cxm3, MINI-pj4g-6c9j-32hx, MINI-pjph-wjh4-mgqx, MINI-pm2m-q39w-935h, MINI-ppr5-28jf-v7qv, MINI-pprc-h34j-r3gx, MINI-pq7r-vq8r-3fcj, MINI-pqhq-45g3-3gqr, MINI-pqpf-g38x-97qg, MINI-prgr-88v2-3gvg, MINI-prpq-mj3f-r86m, MINI-prpv-28v4-66jj, MINI-pv48-2fv2-9gh6, MINI-pvpv-63jg-h8jm, MINI-pvw8-47wm-8jxm, MINI-px95-pf2m-w7vh, MINI-q273-j92m-75wq, MINI-q2jq-w586-cfr9, MINI-q2xx-g329-f65j, MINI-q3v2-rfr2-hff9, MINI-q4g5-569j-jcp3, MINI-q53w-3fg9-ch35, MINI-q677-5qx8-7jpp, MINI-q6v2-364c-662q, MINI-q7q5-7xw6-675f, MINI-q7qq-2vg9-52wj, MINI-q8q5-7c5c-6g29, MINI-q8qc-7qh4-p9jq, MINI-q93m-w88r-xrfc, MINI-q9wg-8p57-vrgm, MINI-qch9-fvp2-5m3g, MINI-qj2w-5c2m-wqqc, MINI-qp5v-xf4p-h57r, MINI-qpr4-3963-jpfp, MINI-qpw6-5wrm-6522, MINI-qq7v-7wwx-74rq, MINI-qwjp-cc22-v5f2, MINI-qxqq-2rq7-c4jm, MINI-r27j-95h5-f7cc, MINI-r2w3-jqq6-r9q4, MINI-r389-vjhq-9484, MINI-r6mw-f6gf-xvjc, MINI-r6vm-m3wm-6gpp, MINI-r8vj-5rqf-47qg, MINI-r962-g6r5-x6v3, MINI-r9vf-2c72-6vhx, MINI-rc8x-h82q-vx3j, MINI-rj79-m2hj-vwj9, MINI-rm23-3r2f-gxj6, MINI-rmxx-4gmq-vr68, MINI-rpw5-97hc-82h3, MINI-rqvc-xrhx-78gx, MINI-rrpr-j75w-55ph, MINI-rvm4-9g2m-3427, MINI-rwwp-rvwr-vqjm, MINI-rxpm-g3m7-gmvv, MINI-v238-cmw2-f834, MINI-v2g3-2g53-c5pj, MINI-v2hf-73rp-j27c, MINI-v332-c3v5-cq62, MINI-v3xr-72h6-g9hc, MINI-v53h-9g5f-vc9m, MINI-v5pp-c4qw-qgmc, MINI-v67f-v9f6-rwm6, MINI-v6xq-528x-h265, MINI-v7h8-9hm8-jgph, MINI-vf2r-959v-4h3x, MINI-vg56-fjcq-77f9, MINI-vh4c-47qj-56rv, MINI-vj27-fgh3-x97m, MINI-vj9v-7882-v877, MINI-vjcp-wrf5-6w7r, MINI-vjjr-8528-g62x, MINI-vjqx-8j2f-vccv, MINI-vmch-m9j3-gvc2, MINI-vq9j-vc85-p573, MINI-vr23-pv7m-vv59, MINI-vr9x-6qjg-3rv7, MINI-vvcq-r47h-rx63, MINI-vx3q-g8hp-g528, MINI-w32f-pvf3-hvgq, MINI-w33q-r8qh-2h32, MINI-w54h-rfcq-643x, MINI-w5g6-7hm6-grcg, MINI-w79r-98gj-5fcx, MINI-w8m6-gpp5-hv52, MINI-w9f6-jrwj-vfrx, MINI-w9g4-vhhc-h7r9, MINI-w9w2-hqcf-pgpr, MINI-wc74-wcph-v933, MINI-wggf-9h8x-w75c, MINI-wgqh-86vr-7f8r, MINI-wj79-r847-rjrv, MINI-wjfx-659w-8pg2, MINI-wm39-w2x6-xw4g, MINI-wmgq-prrf-hw54, MINI-wqcv-wrg6-gj4r, MINI-wrr2-6hcf-w88q, MINI-wwhg-mgc2-q4jp, MINI-wx5w-qgpx-gwph, MINI-wx93-wv2g-whgm, MINI-x2h8-59jp-2hgw, MINI-x3vx-wcvw-m23w, MINI-x7m2-2hcr-mmgm, MINI-x9wg-6736-6mgp, MINI-x9wp-rfq2-mmx9, MINI-xg9v-9c7v-x93g, MINI-xh32-hp77-pjpw, MINI-xh7r-97xm-pw5j, MINI-xjc2-xwp7-8cmw, MINI-xp4v-5mm8-gpv6, MINI-xqh3-9vf8-g32p, MINI-xqw3-364r-8mmh, MINI-xrg4-pgq3-9c64, MINI-xrq6-qf54-93wg, MINI-xv2h-fj7x-7jgh, MINI-xw2c-26jp-85h4, MINI-xwmq-8jwf-4crh, ROOT-APP-GOBINARY-CVE-2025-47914, SUSE-SU-2025:4536-1, SUSE-SU-2026:0067-1, SUSE-SU-2026:0125-1, UBUNTU-CVE-2025-47914, openSUSE-SU-2026:12314-1

## 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 (Out-of-bounds Read)

## 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 | Ecosystem | 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 |
| `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: Golang Crypto.

## How do I fix CVE-2025-47914?

Upgrade golang.org/x/crypto to 0.45.0 or later.

## 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](https://insights.sbomify.com/CVE-2026-46595/): Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh (critical 10.0)
- [CVE-2026-39830](https://insights.sbomify.com/CVE-2026-39830/): Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh (critical 9.1)
- [CVE-2026-39831](https://insights.sbomify.com/CVE-2026-39831/): Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh (critical 9.1)
- [CVE-2026-39832](https://insights.sbomify.com/CVE-2026-39832/): Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent (critical 9.1)
- [CVE-2026-39833](https://insights.sbomify.com/CVE-2026-39833/): Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent (critical 9.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-47914 and fix it if it is affected.

What it is: 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.
Exploitation: There is no known exploitation of CVE-2025-47914 in the wild and no public exploit code.

Affected packages and fixed versions:
- golang.org/x/crypto (Go): affected all versions; fixed in 0.45.0
- golang.org/x/crypto (Go): affected all versions; fixed in 0.45.0
- golang.org/x/crypto (Go): affected all versions; fixed in 0.45.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-47914/ (Markdown: https://insights.sbomify.com/CVE-2025-47914/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-47914
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-47914
- OSV: https://osv.dev/vulnerability/CVE-2025-47914

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-47914/
Summaries are generated and may contain mistakes; the official description above is the record.
