cve.bz

CVE-2025-47906 golang go

6.5 mediumExploit referenceEPSS 0.6%Fix available

Medium (6.5) in golang go. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.23.12, 1.24.6.

On this page
If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS
0.6% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-09-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-47906 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-47906?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-47906?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-47906 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library os/execbefore 1.23.12
Go standard library os/execfrom 1.24.0 before 1.24.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2025-3956Gostdlib<1.23.12
>=1.24.0 <1.24.6
1.23.12, 1.24.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2025-47906
Debian13golang-1.24no fix listedDEBIAN-CVE-2025-47906
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2025-47906
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2025-47906
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 4 moreno fix listedUBUNTU-CVE-2025-47906
Ubuntu24.04:LTSgolang-1.21, golang-1.22, golang-1.23 and 1 moreno fix listedUBUNTU-CVE-2025-47906
Ubuntu25.10, 26.04:LTSgolang-1.23, golang-1.24no fix listedUBUNTU-CVE-2025-47906
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2025-47906
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2025-47906
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2025-47906
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2025-47906
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.25.2-1.module+el8.10.0+23746+9db33b5eRHSA-2025:22668
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.25.3-2.module+el8.10.0+23746+9db33b5eRHSA-2025:22668
Red Hatenterprise_linux:9::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.7.1-4.el9_8RHSA-2026:19350
Red Hatenterprise_linux:9::appstreamgo-filesystem, go-rpm-macros, go-srpm-macros and 3 more0:3.6.0-12.el9_7RHSA-2025:22005
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 5 more0:1.24.6-1.el9_6RHSA-2025:13935
Red Hatenterprise_linux:10.0golang, go-toolset, golang-bin and 5 more0:1.24.6-1.el10_0RHSA-2025:13941
Red Hatrhel_aus:8.2::appstreamdelve, delve-debuginfo, delve-debugsource0:1.3.2-3.module+el8.2.0+5581+896cb53eRHSA-2025:23740
Red Hatrhel_aus:8.2::appstreamgo-toolset0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2025:23740
Red Hatrhel_aus:8.2::appstreamgolang, golang-bin, golang-src and 4 more0:1.13.15-12.module+el8.2.0+23813+4482ebddRHSA-2025:23740
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamdelve, delve-debuginfo, delve-debugsource0:1.5.0-2.module+el8.4.0+8864+58b0fcdbRHSA-2025:23741
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgo-toolset0:1.15.14-3.module+el8.4.0+22765+91da4d3fRHSA-2025:23741
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgolang, golang-bin, golang-src and 4 more0:1.15.14-17.module+el8.4.0+23814+8f618eb7RHSA-2025:23741
13 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.231.23.12-150000.1.40.1SUSE-SU-2025:02759-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.241.24.6-150000.1.32.1SUSE-SU-2025:02760-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.251.25.0-150000.1.5.1SUSE-SU-2025:02924-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.23-openssl1.23.12-150000.1.18.1SUSE-SU-2025:02812-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.24-openssl1.24.6-150000.1.12.1SUSE-SU-2025:02837-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.25-openssl1.25.0-150000.1.3.1SUSE-SU-2025:03115-1
SUSELinux 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 morego1.25-openssl1.25.6-150000.1.9.1SUSE-SU-2026:0297-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7go1.24-openssl1.24.6-150600.13.9.1SUSE-SU-2025:03158-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7go1.25-openssl1.25.0-150600.13.3.1SUSE-SU-2025:03161-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.25-openssl1.25.6-150600.13.9.1SUSE-SU-2026:0298-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250918T182144-150000.1.107.1SUSE-SU-2025:03289-1
openSUSELeap 15.6go1.231.23.12-150000.1.40.1SUSE-SU-2025:02759-1
openSUSELeap 15.6go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
openSUSELeap 15.6go1.241.24.6-150000.1.32.1SUSE-SU-2025:02760-1
openSUSELeap 15.6go1.24-openssl1.24.6-150600.13.9.1SUSE-SU-2025:03158-1
openSUSELeap 15.6go1.251.25.0-150000.1.5.1SUSE-SU-2025:02924-1
openSUSELeap 15.6go1.25-openssl1.25.0-150600.13.3.1SUSE-SU-2025:03161-1
openSUSELeap 15.6go1.25-openssl1.25.6-150600.13.9.1SUSE-SU-2026:0298-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250918T182144-150000.1.107.1SUSE-SU-2025:03289-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedgo1.231.23.12-1.1openSUSE-SU-2025:15422-1
openSUSETumbleweedgo1.241.24.6-1.1openSUSE-SU-2025:15423-1
openSUSETumbleweedgo1.251.25rc3-1.1openSUSE-SU-2025:15420-1
2 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2025:22668
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.25.3-2.module_el8.10.0+4074+24330916ALSA-2025:22668
AlmaLinux9git-lfs3.7.1-4.el9_8ALSA-2026:19350
AlmaLinux9go-filesystem, go-rpm-macros, go-srpm-macros and 1 more3.6.0-12.el9_7ALSA-2025:22005
Rocky Linux8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2025:22668
Rocky Linux8golang0:1.25.3-2.module+el8.10.0+40037+cec252d2RLSA-2025:22668
Rocky Linux9go-rpm-macros0:3.6.0-12.el9_7RLSA-2025:22005
Alpinev3.22, v3.23, v3.24go1.24.6-r0ALPINE-CVE-2025-47906
Azure Linux2golang1.18.8-10AZL-67512
Azure Linux2golang1.22.7-5AZL-66128
Azure Linux3golang1.24.6-1AZL-66131
Alpaquita23go1.23.12-r0BELL-CVE-2025-47906
Alpaquita25, streamgo1.24.6-r0BELL-CVE-2025-47906
BellSoft Hardened Containers23go1.23.12-r0BELL-CVE-2025-47906
BellSoft Hardened Containers25, streamgo1.24.6-r0BELL-CVE-2025-47906

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

Red Hat rates this Moderate.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10golang-0:1.24.6-1.el10_0Fixed 2025-08-18RHSA-2025:13941
Red Hat Enterprise Linux 8go-toolset:rhel8-8100020251201162956.a3795deeFixed 2025-12-03RHSA-2025:22668
Red Hat Enterprise Linux 8.2 Advanced Update Supportgo-toolset:rhel8-8020020251212160632.02f7cb7aFixed 2025-12-22RHSA-2025:23740
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgo-toolset:rhel8-8040020251212161217.5081a262Fixed 2025-12-22RHSA-2025:23741
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongo-toolset:rhel8-8040020251212161217.5081a262Fixed 2025-12-22RHSA-2025:23741
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgo-toolset:rhel8-8060020251219132124.97d7f71fFixed 2025-12-22RHSA-2025:23733
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicego-toolset:rhel8-8060020251219132124.97d7f71fFixed 2025-12-22RHSA-2025:23733
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgo-toolset:rhel8-8060020251219132124.97d7f71fFixed 2025-12-22RHSA-2025:23733
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicego-toolset:rhel8-8080020251215161342.17f3f959Fixed 2025-12-22RHSA-2025:23737
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgo-toolset:rhel8-8080020251215161342.17f3f959Fixed 2025-12-22RHSA-2025:23737
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-operator-bundleFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Fix deferred
505 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-47906.

References

Check your stackJSON