CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3) in golang go. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.8, 1.25.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lstdlib (Go): fixed in 1.24.8, 1.25.2Explain CVE-2025-58185 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58185?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58185?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58185 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library encoding/asn1 | before 1.24.8 |
| Go standard library encoding/asn1 | from 1.25.0 before 1.25.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2025-4011 | Go | stdlib | <1.24.8 >=1.25.0 <1.25.2 | 1.24.8, 1.25.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | no fix listed | DEBIAN-CVE-2025-58185 |
| Debian | 13 | golang-1.24 | no fix listed | DEBIAN-CVE-2025-58185 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14, golang-1.18 and 3 more | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 22.04:LTS | golang-1.17, golang-1.18, golang-1.20 and 5 more | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 24.04:LTS | golang-1.21, golang-1.22, golang-1.23 and 1 more | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 25.10 | golang-1.23, golang-1.24, golang-1.25 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | 26.04:LTS | golang-1.23, golang-1.24 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | Pro:16.04:LTS | golang-1.13, golang-1.18 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | Pro:18.04:LTS | golang-1.13, golang-1.16, golang-1.18 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | Pro:20.04:LTS | golang-1.16 | no fix listed | UBUNTU-CVE-2025-58185 |
| Ubuntu | Pro:22.04:LTS | golang-1.13 | no fix listed | UBUNTU-CVE-2025-58185 |
| Red Hat | hummingbird:1 | golang1.25, golang1.25-bin, golang1.25-src and 4 more | 0:1.25.9-1.hum1 | RHSA-2026:7385 |
| Red Hat | hummingbird:1 | golang1.26, golang1.26-bin, golang1.26-src and 4 more | 0:1.26.2-1.hum1 | RHSA-2026:7291 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 more | go1.24 | 1.24.9-150000.1.42.1 | SUSE-SU-2025:3682-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 more | go1.25 | 1.25.2-150000.1.14.1 | SUSE-SU-2025:03547-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | go1.24-openssl | 1.24.12-150000.1.18.1 | SUSE-SU-2026:0296-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | go1.25-openssl | 1.25.6-150000.1.9.1 | SUSE-SU-2026:0297-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6 | go1.24-openssl | 1.24.12-150600.13.15.1 | SUSE-SU-2026:0308-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6 | go1.25-openssl | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | go1.24 | 1.24.11-160000.1.1 | SUSE-SU-2025:21193-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | go1.24-openssl | 1.24.13-160000.1.1 | SUSE-SU-2026:20629-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | go1.25 | 1.25.5-160000.1.1 | SUSE-SU-2025:21192-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | go1.25-openssl | 1.25.7-160000.1.1 | SUSE-SU-2026:20623-1 |
| openSUSE | Leap 15.6 | go1.24 | 1.24.9-150000.1.42.1 | SUSE-SU-2025:3682-1 |
| openSUSE | Leap 15.6 | go1.24-openssl | 1.24.12-150600.13.15.1 | SUSE-SU-2026:0308-1 |
| openSUSE | Leap 15.6 | go1.25 | 1.25.2-150000.1.14.1 | SUSE-SU-2025:03547-1 |
| openSUSE | Leap 15.6 | go1.25-openssl | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 |
| openSUSE | Leap 16.0 | go1.24 | 1.24.11-160000.1.1 | openSUSE-SU-2025:20158-1 |
| openSUSE | Leap 16.0 | go1.24-openssl | 1.24.13-160000.1.1 | openSUSE-SU-2026:20308-1 |
| openSUSE | Leap 16.0 | go1.25 | 1.25.5-160000.1.1 | openSUSE-SU-2025:20157-1 |
| openSUSE | Leap 16.0 | go1.25-openssl | 1.25.7-160000.1.1 | openSUSE-SU-2026:20301-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE | Tumbleweed | go1.24 | 1.24.8-1.1 | openSUSE-SU-2025:15608-1 |
| openSUSE | Tumbleweed | go1.25 | 1.25.2-1.1 | openSUSE-SU-2025:15609-1 |
| openSUSE | Tumbleweed | govulncheck-vulndb | 0.0.20251029T215107-1.1 | openSUSE-SU-2025:15695-1 |
| 3 more for openSUSE in the JSON and on openSUSE's page. | ||||
| Alpine | v3.22 | go | 1.24.8-r0 | ALPINE-CVE-2025-58185 |
| Alpine | v3.23, v3.24 | go | 1.25.2-r0 | ALPINE-CVE-2025-58185 |
| Azure Linux | 3 | golang | no fix listed | AZL-78909 AZL-98811 |
| Alpaquita | 23, 25 | go | 1.24.8-r0 | BELL-CVE-2025-58185 |
| Alpaquita | stream | go | 1.25.2-r0 | BELL-CVE-2025-58185 |
| BellSoft Hardened Containers | 23, 25 | go | 1.24.8-r0 | BELL-CVE-2025-58185 |
| BellSoft Hardened Containers | stream | go | 1.25.2-r0 | BELL-CVE-2025-58185 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | golang1-26-main-1.26.2-1.hum1 | Fixed 2026-04-09 | RHSA-2026:7291 |
| Red Hat Hardened Images | golang1-25-main-1.25.9-1.hum1 | Fixed 2026-04-10 | RHSA-2026:7385 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-rhel9 | Fix deferred | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel9 | Fix deferred | |
| cert-manager Operator for Red Hat OpenShift | cert-manager/jetstack-cert-manager-rhel9 | Fix deferred | |
| Compliance Operator | compliance/openshift-compliance-operator-bundle | Fix deferred | |
| Confidential Compute Attestation | build-of-trustee/trustee-rhel9-operator | Fix deferred | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-monitor-rhel9 | Fix deferred | |
| Cryostat 4 | cryostat/cryostat-storage-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9 | Fix deferred | |
| Deployment Validation Operator | dvo/deployment-validation-rhel8-operator | Fix deferred | |
| ExternalDNS Operator | edo/external-dns-rhel8 | Fix deferred | |
| ExternalDNS Operator | edo/external-dns-rhel9 | Fix deferred | |
| External Secrets Operator for Red Hat OpenShift | external-secrets-operator/external-secrets-rhel9 | Fix deferred | |
| Fence Agents Remediation Operator | workload-availability/fence-agents-remediation-rhel8-operator | Fix deferred | |
| File Integrity Operator | compliance/openshift-compliance-operator-bundle | Fix deferred | |
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9-operator | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/eventrouter-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-loki-rhel9 | Fix deferred | |
| Logical Volume Manager Storage | lvms4/lvms-rhel9-operator | Fix deferred | |
| 162 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-58185.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).