CVE-2025-58189ALPN negotiation error contains attacker controlled information in crypto/tls
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | golang-1.23 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 26.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 26.04 | golang-1.25 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | golang-1.23 | Will not fix Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of… | UBUNTU-CVE-2025-58189 | |
| Ubuntu 25.10 | golang-1.24 | Will not fix Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of… | UBUNTU-CVE-2025-58189 | |
| Ubuntu 25.10 | golang-1.25 | Will not fix Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of… | UBUNTU-CVE-2025-58189 | |
| Ubuntu 24.04 | golang-1.21 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 24.04 | golang-1.22 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 24.04 | golang-1.23 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 24.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 24.04 | golang-1.25 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.17 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.18 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.20 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.21 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.22 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.23 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 22.04 | golang-1.25 | Under investigation | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.14 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.16 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.18 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.20 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.21 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 20.04 | golang-1.22 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 18.04 | golang-1.10 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 18.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 18.04 | golang-1.16 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 18.04 | golang-1.18 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 18.04 | golang-1.8 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 18.04 | golang-1.9 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 16.04 | golang-1.10 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 16.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 16.04 | golang-1.18 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 16.04 | golang-1.6 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Ubuntu 14.04 | golang-1.10 | Fix pending | UBUNTU-CVE-2025-58189 | |
| Debian 13 | golang-1.24 | Fix pending | DEBIAN-CVE-2025-58189 | |
| Debian 12 | golang-1.19 | Fix pending | DEBIAN-CVE-2025-58189 | |
| Red Hat Enterprise Linux 10 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | butane | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | delve | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | git-lfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-fdo-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-fdo-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-fdo-server-manufacturer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-fdo-server-owner | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-fdo-server-rendezvous | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-github-openprinting-ipp-usb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvisor-tap-vsock | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvisor-tap-vsock-gvforwarder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition-edge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition-grub | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition-validate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | image-builder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ipp-usb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | opentelemetry-collector | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | osbuild-composer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-worker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rhc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rhc-worker-playbook | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | skopeo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | skopeo-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | toolbox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | toolbox-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | trustee-kbs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | yggdrasil | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | yggdrasil-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | butane | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | containernetworking-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | git-lfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock-gvforwarder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition-edge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition-grub | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition-validate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | image-builder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | opentelemetry-collector | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-dnf-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-worker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rhc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rhc-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | runc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | skopeo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | skopeo-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | toolbox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | toolbox-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | weldr-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | conmon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | containers-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | git-lfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-dnf-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-worker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rhc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | runc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | skopeo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | skopeo-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | toolbox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | toolbox-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | weldr-client | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | go | Fixed | 1.25.2-r0 | ALPINE-CVE-2025-58189 |
| Alpine Linux 3.23 | go | Fixed | 1.25.2-r0 | ALPINE-CVE-2025-58189 |
| Alpine Linux 3.22 | go | Fixed | 1.24.8-r0 | ALPINE-CVE-2025-58189 |
| Go library | stdlib | Fixed | 1.24.8 | GO-2025-4008 |
What the vendor says
As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Go standard library crypto/tls: affected: before 1.24.8, 1.25.0 to before 1.25.2; fixed in
1.24.8,1.25.2
References
- https://go.dev/cl/707776
- https://go.dev/issue/75652
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- https://pkg.go.dev/vuln/GO-2025-4008
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.