# CVE-2025-58181: Unbounded memory consumption in golang.org/x/crypto/ssh

> Attackers can cause unbounded memory consumption in SSH servers by sending GSSAPI requests with excessive mechanisms, 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-CZ18029, CLEANSTART-2026-DP92831, CLEANSTART-2026-EA90663, CLEANSTART-2026-EH67735, CLEANSTART-2026-EL11449, CLEANSTART-2026-FE09696, CLEANSTART-2026-HP74468, CLEANSTART-2026-LC49486, CLEANSTART-2026-MC41907, CLEANSTART-2026-OZ83684, CLEANSTART-2026-PD83002, CLEANSTART-2026-UU01575, CLEANSTART-2026-XF34954, DEBIAN-CVE-2025-58181, ECHO-d81a-a240-772e, GHSA-j5w8-q4qc-rx2x, GO-2025-4134, MINI-2562-hfh5-cg7h, MINI-25h7-p45r-94c8, MINI-25r5-vp67-2p9h, MINI-2g3g-wm4g-46p3, MINI-2mxj-wfrj-222c, MINI-2p2q-v6gf-gq2r, MINI-2v6x-xpwq-q48r, MINI-2w86-xgg9-5cgx, MINI-2wrh-pq9g-h9jg, MINI-32c8-qhjj-68v5, MINI-353j-cmx2-9375, MINI-37gx-vf98-vf3c, MINI-38cr-f8cp-xxgq, MINI-38w7-mg99-499g, MINI-39c2-cw65-cx23, MINI-3c9j-qpw9-6m2v, MINI-3cpw-97x5-4gpf, MINI-3hch-8r84-hj5h, MINI-3m7x-9hv4-vxjg, MINI-3qg6-j8wh-hvhq, MINI-3r4f-w5fr-j5jm, MINI-3rhp-xj25-333j, MINI-3rjx-p2mr-crr7, MINI-3rwj-q2p2-wqfq, MINI-3vp5-g94w-vgxq, MINI-3whq-pjf2-g58r, MINI-3wxc-3v7h-vc7h, MINI-3x62-xwrf-f274, MINI-3x8c-rcj9-746r, MINI-3x97-g8xg-r32x, MINI-42cp-mfqr-9wp8, MINI-44jp-p45g-89rx, MINI-453x-hx89-5jqp, MINI-45w5-h54r-jqv5, MINI-46m2-jv7w-3rxp, MINI-4fxp-m3h4-rhh3, MINI-4g42-4pmw-57q7, MINI-4h4w-jrw2-grrf, MINI-4hc2-fvfg-69v9, MINI-4jw4-q963-jhfj, MINI-4mqv-4wgh-4pj3, MINI-4q6r-rvpj-2v4j, MINI-4qrx-6fmf-ffxq, MINI-4r4p-hwcm-pm8q, MINI-4rr2-2m5q-xgh5, MINI-4wpf-g4ch-c5qf, MINI-4wrx-jhw4-w9qx, MINI-4xwj-qw7w-f5j9, MINI-52wj-6f54-q7g8, MINI-53v4-gvqr-qmvv, MINI-55gg-2fv5-x57q, MINI-565m-q835-7399, MINI-5668-m6cj-6x88, MINI-569w-qm29-26c5, MINI-56gr-2vm5-9mxr, MINI-598q-xgr5-2xxg, MINI-59c9-rjhf-rjw7, MINI-5c43-qh64-7c6f, MINI-5cv8-3x5c-2frj, MINI-5h2w-782c-86vx, MINI-5hgm-h8pg-r9q8, MINI-5jf7-786f-vm29, MINI-5jmf-7q3h-vmrj, MINI-5mjw-c4vj-35r2, MINI-5mpm-365j-2hc4, MINI-5qm9-8f46-ggp8, MINI-5rh6-mw7x-pgv8, MINI-5w9r-8jm4-2fp2, MINI-624w-9jxg-6j9w, MINI-62j9-4g9j-fv2p, MINI-63jx-6xxf-ggqm, MINI-663r-q63c-2fc2, MINI-6675-2w8m-rhw7, MINI-67jc-jxch-pfww, MINI-6988-rw95-6cwm, MINI-69w5-573v-g359, MINI-6cfp-w3vg-7368, MINI-6m57-pcc9-83jx, MINI-6q82-f68c-hh5q, MINI-6r49-wj8x-47mf, MINI-6r5f-7cpr-539p, MINI-6rgg-79px-3w8v, MINI-6vvx-fr47-7fmr, MINI-6vx2-w48w-pp9x, MINI-6wcv-rrgw-5fv4, MINI-6xf5-cv24-3q4v, MINI-72fq-2wf3-r9fc, MINI-73cc-j5cw-rcw9, MINI-73wg-h8cc-8cm5, MINI-7458-cm98-jr8v, MINI-74hm-r2vx-ffg2, MINI-75h6-qgvc-38w4, MINI-76pr-4g62-873x, MINI-76rv-23x2-83qh, MINI-77vx-grr6-xppx, MINI-7c8f-2gwp-85p6, MINI-7chx-vmpg-rfr2, MINI-7f2w-pp8j-hvwc, MINI-7fch-jfc2-4mh4, MINI-7h3j-2hw2-3x7g, MINI-7jxx-mgf2-2vc6, MINI-7m4r-w5jw-4p4g, MINI-7mjv-gfpf-v9jm, MINI-7qcp-h553-cg2h, MINI-7qff-q6hm-7x3h, MINI-7qj2-53j6-8qh7, MINI-7xgf-4mh6-3mjv, MINI-82hv-m3mj-33pr, MINI-83gc-3674-f893, MINI-85g6-7v6m-g2pc, MINI-85wm-45pp-98qr, MINI-87c9-mg2q-93vp, MINI-88cm-wrjr-85wp, MINI-88p4-v8v8-vv3x, MINI-8g53-x99h-wh7m, MINI-8jwg-gx3q-vc48, MINI-8mg3-5fhr-mfv4, MINI-8rw4-vq8c-cp59, MINI-8v48-gcp5-wc5j, MINI-8v7v-phf8-rfjp, MINI-8v9j-vr5x-xcwr, MINI-8wcr-5wm8-hmf8, MINI-8xj9-24f4-8m83, MINI-8xv5-px2r-jjvf, MINI-8xv7-7xvg-229m, MINI-92v5-g52x-8j7f, MINI-932g-64r4-qj9w, MINI-93jx-gcf2-2xvv, MINI-9436-7436-cr96, MINI-94r3-548g-fpwq, MINI-957r-jm53-r83m, MINI-969x-m3hm-jgv7, MINI-96v3-p568-rfqf, MINI-97wf-h5jv-jqwg, MINI-9fm9-cf2f-5xwv, MINI-9hxh-g65v-r3qj, MINI-9j9c-j9vx-gxv7, MINI-9jc4-7x3j-ff5q, MINI-9jgx-x2rq-c9rh, MINI-9mrp-8fg9-77hg, MINI-9q37-rvgf-r5c8, MINI-9qhq-c9m6-92xv, MINI-9rcr-j9hq-wgxp, MINI-9w2h-m73h-x2hm, MINI-9x47-rg9c-3jc7, MINI-c26p-9989-99hj, MINI-c3m7-m385-ggwc, MINI-c4ch-7vq7-jf9q, MINI-c62w-w3j8-vh8w, MINI-c66r-4rg4-6rvr, MINI-c76x-v4hh-3xqx, MINI-c7xq-x8qr-p8rr, MINI-c837-26x8-p3vx, MINI-cf8x-59vf-788h, MINI-cf9c-575g-gjw7, MINI-cg78-w8wc-gpj7, MINI-cgjf-c4cc-7p76, MINI-ch53-x549-pfm5, MINI-ch9p-2m4v-jwv7, MINI-cm3p-x9x8-mpj5, MINI-cmp8-jj4q-j7pv, MINI-cp8p-465x-jjrh, MINI-cppf-4ff4-mgj4, MINI-cr2r-wvvh-28jf, MINI-cwmv-3qjc-mqc9, MINI-cxfh-5h72-fx2m, MINI-f2jj-wh79-jxfj, MINI-f37x-mgh5-j9c7, MINI-f3wq-8j4v-xq8f, MINI-f4px-3v37-rgxw, MINI-f532-xgc7-gfvg, MINI-f5h7-fr85-fxfc, MINI-f739-w22f-25mf, MINI-f78w-9594-5jmg, MINI-f957-xg93-849m, MINI-fcrf-v47w-mhp9, MINI-ffjr-7wvv-g444, MINI-fg7f-xmvq-5rxp, MINI-fghp-fwq4-7w7c, MINI-fgmw-x429-pgmg, MINI-fhwr-9wx2-8592, MINI-fj3f-gfmr-g62p, MINI-fj9g-f62c-x8fx, MINI-fjqf-r2hf-8hx8, MINI-fm6g-47wj-ffjf, MINI-fm79-3cc7-p339, MINI-fmwc-23rw-ph99, MINI-fpx4-8xjw-qx8g, MINI-fqxj-g633-crqj, MINI-fqxx-mpvg-4ch7, MINI-fr55-c37p-cqcc, MINI-frqw-jjpf-8hgq, MINI-fwmc-46wh-5j8p, MINI-fx56-fr7g-q5cp, MINI-fxf9-r8vp-pj7f, MINI-g2x7-4mgm-vg5m, MINI-g4g9-w59r-hfwq, MINI-g4x3-c8p3-p66r, MINI-g5qh-8gxh-fgx6, MINI-g6fv-5prg-w5jv, MINI-g9c2-vfwj-2qg2, MINI-gc5c-pvp2-xp7v, MINI-gcwc-ww93-h5pm, MINI-gf8h-p4pv-g5cv, MINI-gg52-5gfh-7f34, MINI-gjrm-qfgj-9rgw, MINI-gp67-rcq6-7566, MINI-gp8g-6cr7-29jf, MINI-gq8r-vvq5-jh75, MINI-gqqq-g5gc-2xfv, MINI-grcc-5hwc-g75x, MINI-h28r-9289-fq6j, MINI-h399-2382-j362, MINI-h5cf-x92w-f4hf, MINI-h6mx-h34q-w9mf, MINI-h838-658h-m3wg, MINI-h8rf-fqqm-h9gc, MINI-hch2-q4fp-cjj5, MINI-hfmf-486j-f56v, MINI-hfw3-6fv8-743f, MINI-hgcg-gwm8-46jg, MINI-hgh5-hmg9-864g, MINI-hh54-7whf-qw77, MINI-hhqp-53pq-49vm, MINI-hpf3-g28w-62rr, MINI-hrvc-c65r-7rgp, MINI-hx3v-vmwj-r9pg, MINI-hx73-8468-7jq6, MINI-j2qj-q9q8-cc2p, MINI-j335-rc43-92h5, MINI-j367-mvfp-f8jh, MINI-j39m-hj48-2qm9, MINI-j4j5-qj62-m6j3, MINI-j5r5-5cxf-82m2, MINI-j6hm-cc74-xv35, MINI-j6rv-9972-pxwm, MINI-j86c-2wrc-8jj6, MINI-jcvg-8xw8-jjq7, MINI-jgmr-9rr5-3j75, MINI-jh5f-8x3f-mj52, MINI-jh8p-88vg-qqm9, MINI-jjgm-6r56-8wc2, MINI-jmr8-jfjm-wq5w, MINI-jpjj-fwpx-mfrg, MINI-jq7g-grrm-93xj, MINI-jr3f-g985-5wqv, MINI-jr58-5j86-2q6q, MINI-jvmh-q54x-3j7h, MINI-jw4j-xpvq-mp4q, MINI-jx49-576w-9p2m, MINI-m2v3-7wvp-9gf6, MINI-m4mp-mqcc-cwr8, MINI-m4wr-6rhx-7927, MINI-m63x-9rpg-8rjj, MINI-m6q6-5qvx-wrx4, MINI-m6xf-j5wp-9hr8, MINI-m795-pjmw-5cv7, MINI-m7f4-8wx4-jhqp, MINI-m7gw-qrmp-q57h, MINI-m7jr-wxq6-2c3h, MINI-m8v3-6qxc-86vj, MINI-m8wv-4wgf-94vp, MINI-m99f-fgmh-hxv6, MINI-mcp2-cxrw-757r, MINI-mf93-4jwm-rxcg, MINI-mgmx-fxjg-9vmq, MINI-mj2r-7773-3vrr, MINI-mmrv-ghf5-2rmw, MINI-mmwf-wrrm-8mg6, MINI-mmxc-x572-89hx, MINI-mp4f-v22h-hp8c, MINI-mp5f-hf4w-fwf6, MINI-mq33-pr39-93q6, MINI-mrvf-v5f7-j8g8, MINI-mvgm-vx6g-r847, MINI-mxrg-955x-r74f, MINI-p225-f3rm-mqjf, MINI-p2hg-6fwh-6pw8, MINI-p38w-4mm6-vvvh, MINI-p43w-98mh-mj3r, MINI-p4j2-h6g8-gh67, MINI-p5gf-55g5-vfhx, MINI-p968-2596-3hw4, MINI-pc2f-5mcr-c5r9, MINI-pf7c-gq7c-5cw2, MINI-pfhg-4649-f72h, MINI-ph7f-hjw6-fj5h, MINI-phf7-7v44-3gq7, MINI-phw8-pj52-cmhp, MINI-pjqj-f29w-6cpx, MINI-pmcj-qqc8-72c7, MINI-pqcv-3gc2-j5hh, MINI-pr3r-hg5x-hcx3, MINI-prq4-5mpw-f5c5, MINI-pvjm-8w8m-92xc, MINI-pvvg-gqmr-4rqp, MINI-pw5w-vpqj-c733, MINI-pw6g-qq4v-w7x8, MINI-px6m-rx74-jmhj, MINI-pxfj-49vm-xc4x, MINI-pxqx-h3p5-2wvv, MINI-q26x-v28h-2gwv, MINI-q53p-jhpc-hcrx, MINI-q73j-p49f-r4xg, MINI-q8qf-34gh-9m6g, MINI-q929-98xm-jf32, MINI-q9g4-472j-p8q6, MINI-qhw4-9fwm-99h7, MINI-qhx2-2646-45jw, MINI-qm36-5j34-mmm4, MINI-qpj6-9q84-w6pq, MINI-qppp-h5xj-q6ch, MINI-qq94-jw63-6cw3, MINI-qv3v-jw4c-98h7, MINI-qvh6-gr4g-v6px, MINI-qw2h-633w-hqpq, MINI-qw78-c6h8-prph, MINI-qwpp-28cx-4mpf, MINI-qxq7-h5qf-r7rj, MINI-r38q-w7ww-q64g, MINI-r45m-xcqg-jgvq, MINI-r56h-v2pv-hg9r, MINI-r88p-mgxc-jv73, MINI-r98w-vxcx-q8cg, MINI-rc3f-pwr3-jvfc, MINI-rcm8-c464-w9qw, MINI-rfrm-65c5-hx96, MINI-rhmp-5c9j-v6m6, MINI-rjqq-29q9-mjrx, MINI-rr39-r55r-cmcx, MINI-rv4r-j8f4-26gj, MINI-rvmq-498f-5m2g, MINI-rvxc-hxv7-f7pr, MINI-rwm5-x4rv-v674, MINI-v2jj-2rvv-pw54, MINI-v5xx-88rx-j8fm, MINI-v6pw-9326-662r, MINI-v73f-4g2h-gmf2, MINI-v8ph-m85r-9wpv, MINI-v9w5-89vf-9pxj, MINI-vc3w-22qh-4mrc, MINI-vcqc-q43r-9cx2, MINI-vf2f-jv7w-vv9c, MINI-vf49-wc8q-4v32, MINI-vf62-39vj-8c5w, MINI-vjvx-g4vj-2fp9, MINI-vmv7-vmh4-qwgx, MINI-vrpc-jv5m-ww89, MINI-vw2q-3828-269c, MINI-vww8-px24-w583, MINI-vxcg-gfvf-7qx6, MINI-vxr2-xcrc-grj2, MINI-w55h-mr27-68jj, MINI-w57p-pmr6-vmxh, MINI-w5mp-gqfq-v2cm, MINI-w93v-wq95-9gfv, MINI-w998-49p2-grqp, MINI-wfpf-5g64-c6p2, MINI-wgmr-87j4-3xq2, MINI-wgp3-2cm8-wc4x, MINI-wj9v-m9r2-v778, MINI-wjjj-6g34-mf7r, MINI-wmfq-79wr-mpc7, MINI-wp83-m6hh-774r, MINI-wpf8-vwgm-h92g, MINI-wqj3-24v3-79q7, MINI-wv6m-6692-p62r, MINI-x3g9-5pp8-c38v, MINI-x689-2gfj-3x38, MINI-x6c5-g287-f86f, MINI-x744-p5gc-xp4m, MINI-x7m5-cw5v-2f65, MINI-x845-8jjp-pq5f, MINI-x88m-m8jg-85ww, MINI-x945-w45c-wj4v, MINI-xfvj-fp75-p99m, MINI-xg7x-h54j-qw67, MINI-xjwj-4463-qq64, MINI-xpwc-hv89-hw9j, MINI-xqjp-cfc9-v646, MINI-xqw8-86xx-hmc8, MINI-xrv3-hh9v-hf62, MINI-xv47-w2qp-8fwv, MINI-xvhp-jg5c-8456, MINI-xw26-3fvw-2v72, MINI-xwg9-wc55-pw8h, MINI-xwjx-4fw4-f429, ROOT-APP-GOBINARY-CVE-2025-58181, SUSE-SU-2026:0666-1, SUSE-SU-2026:0772-1, SUSE-SU-2026:20539-1, SUSE-SU-2026:20578-1, SUSE-SU-2026:20651-1, SUSE-SU-2026:20694-1, SUSE-SU-2026:2429-1, UBUNTU-CVE-2025-58181, openSUSE-SU-2025:15761-1, openSUSE-SU-2025:15774-1, openSUSE-SU-2025:15841-1, openSUSE-SU-2026:20249-1, openSUSE-SU-2026:21567-1

## What is CVE-2025-58181?

CVE-2025-58181 is a medium-severity denial of service vulnerability in golang.org/x/crypto/ssh, 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 servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2025-58181?

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 |
| `docker` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Micro 5.2 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | SUSE:Linux Enterprise Micro 5.3 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | SUSE:Linux Enterprise Micro 5.3 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Micro 5.4 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | SUSE:Linux Enterprise Micro 5.4 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Micro 5.5 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | SUSE:Linux Enterprise Micro 5.5 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Module for Containers 15 SP7 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | SUSE:Linux Enterprise Module for Containers 15 SP7 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server 16.0 | All versions | 28.5.1_ce-160000.5.1 |
| `docker` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 28.5.1_ce-98.151.1 |
| `docker` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | All versions | 29.4.0_ce-150000.250.1 |
| `docker` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 28.5.1_ce-160000.5.1 |
| `docker` | SUSE:Linux Micro 6.0 | All versions | 28.5.1_ce-9.1 |
| `docker` | SUSE:Linux Micro 6.1 | All versions | 28.5.1_ce-slfo.1.1_8.1 |
| `docker` | SUSE:Linux Micro 6.2 | All versions | 28.5.1_ce-160000.5.1 |
| `docker` | openSUSE:Leap 15.6 | All versions | 28.5.1_ce-150000.241.2 |
| `docker` | openSUSE:Leap 16.0 | All versions | 28.5.1_ce-160000.5.1 |
| `zk` | openSUSE:Leap 16.0 | All versions | 0.15.6-bp160.1.1 |
| `netbird` | openSUSE:Tumbleweed | All versions | 0.60.3-1.1 |
| `rclone` | openSUSE:Tumbleweed | All versions | 1.72.0-1.1 |
| `zk` | openSUSE:Tumbleweed | All versions | 0.15.2-1.1 |

Products: Golang Crypto.

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

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

## Is CVE-2025-58181 being exploited?

There is no known exploitation of CVE-2025-58181 in the wild and no public exploit code.

## Other vulnerabilities in golang.org/x/crypto/ssh

- [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-58181 and fix it if it is affected.

What it is: CVE-2025-58181 is a medium-severity denial of service vulnerability in golang.org/x/crypto/ssh, 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-58181 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-58181/ (Markdown: https://insights.sbomify.com/CVE-2025-58181/index.md)
```

## Sources

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

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