CVSS 3.1
7.0 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:LHigh (7.0) in golang go. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.23.12, 1.24.6.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:Lstdlib (Go): fixed in 1.23.12, 1.24.6Explain CVE-2025-47907 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-47907?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-47907?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-47907 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 database/sql | before 1.23.12 |
| Go standard library database/sql | from 1.24.0 before 1.24.6 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2025-3849 | Go | stdlib | <1.23.12 >=1.24.0 <1.24.6 | 1.23.12, 1.24.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | no fix listed | DEBIAN-CVE-2025-47907 |
| Debian | 13 | golang-1.24 | no fix listed | DEBIAN-CVE-2025-47907 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14, golang-1.18 and 3 more | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | 22.04:LTS | golang-1.17, golang-1.18, golang-1.20 and 4 more | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | 24.04:LTS | golang-1.21, golang-1.22, golang-1.23 | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | 25.10 | golang-1.23, golang-1.24 | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | 26.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | Pro:16.04:LTS | golang-1.13, golang-1.18 | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | Pro:18.04:LTS | golang-1.13, golang-1.16, golang-1.18 | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | Pro:20.04:LTS | golang-1.16 | no fix listed | UBUNTU-CVE-2025-47907 |
| Ubuntu | Pro:22.04:LTS | golang-1.13 | no fix listed | UBUNTU-CVE-2025-47907 |
| 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:9::appstream | podman, podman-tests, podman-docker and 7 more | 6:5.6.0-6.el9_7 | RHSA-2025:20909 |
| 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 | enterprise_linux:10.1 | podman, podman-tests, podman-docker and 5 more | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat | rhel_aus:8.2::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:21383 |
| Red Hat | rhel_aus:8.2::appstream | go-toolset | 0:1.13.15-1.module+el8.2.0+7662+fa98b974 | RHSA-2025:21383 |
| Red Hat | rhel_aus:8.2::appstream | golang, golang-bin, golang-src and 4 more | 0:1.13.15-11.module+el8.2.0+23627+d458f451 | RHSA-2025:21383 |
| Red Hat | rhel_aus:8.4::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:21385 |
| Red Hat | rhel_aus:8.4::appstream | go-toolset | 0:1.15.14-3.module+el8.4.0+22765+91da4d3f | RHSA-2025:21385 |
| Red Hat | rhel_aus:8.4::appstream | golang, golang-bin, golang-src and 4 more | 0:1.15.14-16.module+el8.4.0+23635+6912b903 | RHSA-2025:21385 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:21384 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | go-toolset | 0:1.17.13-2.module+el8.6.0+22782+bd95fb4c | RHSA-2025:21384 |
| 9 more for Red Hat in the JSON and on Red Hat's page. | ||||
| 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.12-150000.1.40.1 | SUSE-SU-2025:02759-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.6-150000.1.32.1 | SUSE-SU-2025:02760-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 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | govulncheck-vulndb | 0.0.20250814T182633-150000.1.98.1 | SUSE-SU-2025:02912-1 |
| 1 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | go1.23 | 1.23.12-150000.1.40.1 | SUSE-SU-2025:02759-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.6-150000.1.32.1 | SUSE-SU-2025:02760-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 | Leap 15.6 | govulncheck-vulndb | 0.0.20250814T182633-150000.1.98.1 | SUSE-SU-2025:02912-1 |
| openSUSE | Tumbleweed | azure-storage-azcopy | 10.30.1-1.1 | openSUSE-SU-2025:15594-1 |
| openSUSE | Tumbleweed | clair | 4.9.0-1.1 | openSUSE-SU-2025:15823-1 |
| openSUSE | Tumbleweed | go1.23 | 1.23.12-1.1 | openSUSE-SU-2025:15422-1 |
| openSUSE | Tumbleweed | go1.24 | 1.24.6-1.1 | openSUSE-SU-2025:15423-1 |
| 5 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 9 | podman, podman-tests, podman-docker and 2 more | 6:5.6.0-6.el9_7 | ALSA-2025:20909 |
| AlmaLinux | 10 | golang-src, golang-docs, golang-misc and 1 more | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
| AlmaLinux | 10 | podman, podman-tests, podman-docker and 1 more | 7:5.6.0-5.el10_1 | ALSA-2025:20983 |
| Alpine | v3.22, v3.23, v3.24 | go | 1.24.6-r0 | ALPINE-CVE-2025-47907 |
| Azure Linux | 2 | golang | 1.18.8-9 | AZL-66135 |
| Azure Linux | 2 | golang | 1.22.7-5 | AZL-66138 |
| Azure Linux | 3 | golang | 1.23.12-1 | AZL-66150 |
| Azure Linux | 3 | golang | 1.24.6-1 | AZL-66153 |
| Alpaquita | 23 | go | 1.23.12-r0 | BELL-CVE-2025-47907 |
| Alpaquita | 25, stream | go | 1.24.6-r0 | BELL-CVE-2025-47907 |
| BellSoft Hardened Containers | 23 | go | 1.23.12-r0 | BELL-CVE-2025-47907 |
| BellSoft Hardened Containers | 25, stream | go | 1.24.6-r0 | BELL-CVE-2025-47907 |
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; 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.
This vulnerability marked as Moderate severity issues rather than Important. The os/exec LookPath flaw requires a misconfigured PATH to be exploitable, and the database/sql race condition primarily impacts applications that cancel queries while running multiple queries concurrently. Both can cause unexpected behavior, but the exploitation scope is limited and unlikely to result in direct compromise in most typical deployments.
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 |
|---|---|---|---|
| Cryostat 4 on RHEL 9 | cryostat/cryostat-agent-init-rhel9:0.6.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-db-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-grafana-dashboard-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-openshift-console-plugin-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-operator-bundle:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-reports-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-rhel9-operator:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/cryostat-storage-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Cryostat 4 on RHEL 9 | cryostat/jfr-datasource-rhel9:4.1.0-11 | Fixed 2025-11-25 | RHSA-2025:21148 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-agent-rhel9 | Affected | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-controller-rhel9 | Affected | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-rhel9 | Affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-controller-rhel9 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-git-cloner-rhel9 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel9 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-processing-rhel9 | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-operator-bundle | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-rhel9-operator | Not affected | |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-shared-resource-rhel9 | Not affected | |
| 702 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-47907.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.