CVSS 3.1
8.6 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HHigh (8.6) in golang go. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in toolchain 1.23.11, 1.24.5.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Htoolchain (Go): fixed in 1.23.11, 1.24.5Explain CVE-2025-4674 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4674?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4674?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-4674 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 toolchain cmd/go | before 1.23.11 |
| Go toolchain cmd/go | from 1.24.0-0 before 1.24.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2025-3828 | Go | toolchain | <1.23.11 >=1.24.0-0 <1.24.5 | 1.23.11, 1.24.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | no fix listed | DEBIAN-CVE-2025-4674 |
| Debian | 13 | golang-1.24 | no fix listed | DEBIAN-CVE-2025-4674 |
| Ubuntu | 20.04:LTS | golang-1.18, golang-1.20, golang-1.21 and 1 more | no fix listed | UBUNTU-CVE-2025-4674 |
| Ubuntu | 22.04:LTS | golang-1.18, golang-1.20, golang-1.21 and 2 more | no fix listed | UBUNTU-CVE-2025-4674 |
| Ubuntu | 24.04:LTS | golang-1.21, golang-1.22, golang-1.23 | no fix listed | UBUNTU-CVE-2025-4674 |
| Ubuntu | 25.10 | golang-1.23, golang-1.24 | no fix listed | UBUNTU-CVE-2025-4674 |
| Ubuntu | 26.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2025-4674 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | golang-1.18 | no fix listed | UBUNTU-CVE-2025-4674 |
| Red Hat | enterprise_linux:8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.24.1-1.module+el8.10.0+22945+b2c96a17 | RHSA-2025:13940 |
| Red Hat | enterprise_linux:8::appstream | golang, go-toolset, golang-bin and 4 more | 0:1.24.6-1.module+el8.10.0+23407+428597c7 | RHSA-2025:13940 |
| Red Hat | enterprise_linux:9::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.24.6-1.el9_6 | RHSA-2025:13935 |
| Red Hat | enterprise_linux:10.0 | golang, go-toolset, golang-bin and 5 more | 0:1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:14093 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | go-toolset | 0:1.19.13-3.module+el8.8.0+22903+37387f31 | RHSA-2025:14093 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | golang, golang-bin, golang-src and 4 more | 0:1.19.13-16.module+el8.8.0+23410+958e78d9 | RHSA-2025:14093 |
| Red Hat | rhel_e4s:9.2::appstream | golang, golang-bin, golang-src and 4 more | 0:1.19.13-18.el9_2 | RHSA-2025:13939 |
| Red Hat | rhel_eus:9.4::appstream | golang, go-toolset, golang-bin and 4 more | 0:1.21.13-10.el9_4 | RHSA-2025:13936 |
| 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.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-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.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-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.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 more | go1.23-openssl | 1.23.12-150000.1.18.1 | SUSE-SU-2025:02812-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 more | go1.24-openssl | 1.24.6-150000.1.12.1 | SUSE-SU-2025:02837-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 more | go1.25-openssl | 1.25.0-150000.1.3.1 | SUSE-SU-2025:03115-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 SP6, Linux Enterprise Module for Development Tools 15 SP7 | go1.23-openssl | 1.23.12-150600.13.9.1 | SUSE-SU-2025:03159-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7 | go1.25-openssl | 1.25.0-150600.13.3.1 | SUSE-SU-2025:03161-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 |
| openSUSE | Leap 15.6 | go1.23 | 1.23.11-150000.1.37.1 | SUSE-SU-2025:02296-1 |
| openSUSE | Leap 15.6 | go1.23-openssl | 1.23.12-150600.13.9.1 | SUSE-SU-2025:03159-1 |
| openSUSE | Leap 15.6 | go1.24 | 1.24.5-150000.1.29.1 | SUSE-SU-2025:02295-1 |
| openSUSE | Leap 15.6 | go1.24-openssl | 1.24.6-150600.13.9.1 | SUSE-SU-2025:03158-1 |
| openSUSE | Leap 15.6 | go1.25 | 1.25.0-150000.1.5.1 | SUSE-SU-2025:02924-1 |
| openSUSE | Leap 15.6 | go1.25-openssl | 1.25.0-150600.13.3.1 | SUSE-SU-2025:03161-1 |
| openSUSE | Leap 15.6 | go1.25-openssl | 1.25.6-150600.13.9.1 | SUSE-SU-2026:0298-1 |
| openSUSE | Tumbleweed | go1.23 | 1.23.11-1.1 | openSUSE-SU-2025:15328-1 |
| openSUSE | Tumbleweed | go1.24 | 1.24.5-1.1 | openSUSE-SU-2025:15329-1 |
| openSUSE | Tumbleweed | go1.25 | 1.25rc2-1.1 | openSUSE-SU-2025:15330-1 |
| openSUSE | Tumbleweed | govulncheck-vulndb | 0.0.20250730T213748-1.1 | openSUSE-SU-2025:15405-1 |
| AlmaLinux | 8 | delve | 1.24.1-1.module_el8.10.0+3977+66935a26 | ALSA-2025:13940 |
| AlmaLinux | 8 | golang, go-toolset, golang-bin and 4 more | 1.24.6-1.module_el8.10.0+4033+4bf8b620 | ALSA-2025:13940 |
| AlmaLinux | 9 | golang, go-toolset, golang-bin and 5 more | 1.24.6-1.el9_6 | ALSA-2025:13935 |
| AlmaLinux | 10 | golang-src, golang-docs, golang-misc and 1 more | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
| Rocky Linux | 8 | delve | 0:1.24.1-1.module+el8.10.0+1951+c74bd827 | RLSA-2025:13940 |
| Rocky Linux | 8 | delve | 0:1.24.1-1.module+el8.10.0+1987+42f155bb | RLSA-2025:13940 |
| Rocky Linux | 8 | golang, go-toolset | 0:1.24.6-1.module+el8.10.0+2048+bc5b2e29 | RLSA-2025:13940 |
| Rocky Linux | 9 | golang | 0:1.24.6-1.el9_6 | RLSA-2025:13935 |
| Rocky Linux | 10 | golang | 0:1.24.6-1.el10_0 | RLSA-2025:13941 |
| Alpine | v3.22 | go | 1.24.6-r0 | ALPINE-CVE-2025-4674 |
| Alpine | v3.23, v3.24 | go | 1.24.5-r0 | ALPINE-CVE-2025-4674 |
| Azure Linux | 2 | golang | 1.18.8-10 | AZL-66098 |
| Azure Linux | 2 | golang | 1.22.7-5 | AZL-66101 |
| Alpaquita | 23 | go | 1.23.11-r0 | BELL-CVE-2025-4674 |
| Alpaquita | 25 | go | 1.24.6-r0 | BELL-CVE-2025-4674 |
| Alpaquita | stream | go | 1.24.5-r0 | BELL-CVE-2025-4674 |
| BellSoft Hardened Containers | 23 | go | 1.23.11-r0 | BELL-CVE-2025-4674 |
| BellSoft Hardened Containers | 25 | go | 1.24.6-r0 | BELL-CVE-2025-4674 |
| BellSoft Hardened Containers | stream | go | 1.24.5-r0 | BELL-CVE-2025-4674 |
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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 Important.
This vulnerability is Important rather than Moderate because it enables arbitrary command execution at the tooling level before any code is built or reviewed, effectively compromising the software supply chain at its earliest stage. Unlike flaws that require user interaction with the code itself, this issue is triggered simply by running go operations on a malicious repository—an action routinely performed by developers and automated build systems. The problem lies in cmd/go’s unsafe interpretation of cross-VCS metadata, allowing an attacker to inject commands that execute with the privileges of the go process.
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 Enterprise Linux 10 | golang-0:1.24.6-1.el10_0 | Fixed 2025-08-18 | RHSA-2025:13941 |
| Red Hat Enterprise Linux 8 | go-toolset:rhel8-8100020250813120739.a3795dee | Fixed 2025-08-18 | RHSA-2025:13940 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | go-toolset:rhel8-8080020250814081429.6b4b45d8 | Fixed 2025-08-19 | RHSA-2025:14093 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | go-toolset:rhel8-8080020250814081429.6b4b45d8 | Fixed 2025-08-19 | RHSA-2025:14093 |
| Red Hat Enterprise Linux 9 | golang-0:1.24.6-1.el9_6 | Fixed 2025-08-18 | RHSA-2025:13935 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | golang-0:1.19.13-18.el9_2 | Fixed 2025-08-18 | RHSA-2025:13939 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | golang-0:1.21.13-10.el9_4 | Fixed 2025-08-18 | RHSA-2025:13936 |
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-4674.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.