Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-47907

database/sql: Postgres Scan Race Condition

Overview

Published
7 Aug 2025
Modified
17 Jun 2026
High CVE
2 Registry packages
837 OS packages
16 Linux distributions
Yes Fix available

Description

Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can result in unexpected results if other queries are being made in parallel. This can result in a race condition that may overwrite the expected results with those of another query, causing the call to Scan to return either unexpected results from the other query or an error.

Source: OX vulnerability database

Severity

7 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L

Weakness: CWE-362

Affected packages · 2

Packages affected by CVE-2025-47907
EcosystemPackageVulnerableFixed in
Bitnami golang <1.23.12>=1.24.0, <1.24.6 1.23.121.24.6
Go stdlib <1.23.12>=1.24.0, <1.24.6 1.23.121.24.6

Open a package to see all its vulnerabilities.

Operating systems · 1,098 fixes

Azure Linux 1 release · 1 package

fixed 1
golang
Azure Linux fixes for CVE-2025-47907
ReleasePackageFixed in
3.0 golang 0:1.24.6-1.azl3

Oracle Linux 1 release · 1 package

fixed 1
podman
Oracle Linux fixes for CVE-2025-47907
ReleasePackageFixed in
9 podman +4 6:5.6.0-6.0.1.el9_7

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2025-47907
ReleasePackageFixed in
5.0 go 1.24.13-1.ph5

Red Hat 4 releases · 6 packages

affected 4 fixed 19 wont fix 1
rhceph-grafana-rhel9 podman delve go-toolset golang rhel9-bootc-image-builder
Red Hat fixes for CVE-2025-47907
ReleasePackageFixed inAdvisory
8 rhceph-grafana-rhel9 +3 affected —
8 (container-tools:rhel8) podman +7 affected —
8 (go-toolset:rhel8) delve +8 affected —
8 (go-toolset:rhel8) go-toolset 0:1.13.15-1.module+el8.2.0+7662+fa98b974 RHSA-2025:21383
8 (go-toolset:rhel8) golang +6 0:1.13.15-11.module+el8.2.0+23627+d458f451 RHSA-2025:21383
8 (go-toolset:rhel8) golang +6 0:1.15.14-16.module+el8.4.0+23635+6912b903 RHSA-2025:21385

18 more rows

SUSE Linux Enterprise 4 releases · 7 packages

fixed 28
go1-23-openssl go1-23 go1-24-openssl go1-24 go1-25-openssl go1-25 +1
SUSE Linux Enterprise fixes for CVE-2025-47907
ReleasePackageFixed inAdvisory
15.4 go1-23-openssl +2 1.23.12-150000.1.18.1 SUSE-SU-2025:02812-1
15.4 go1-23 +2 1.23.12-150000.1.40.1 SUSE-SU-2025:02759-1
15.4 go1-24-openssl +2 1.24.6-150000.1.12.1 SUSE-SU-2025:02837-1
15.4 go1-24 +2 1.24.6-150000.1.32.1 SUSE-SU-2025:02760-1
15.4 go1-25-openssl +2 1.25.0-150000.1.3.1 SUSE-SU-2025:03115-1
15.4 go1-25 +2 1.25.0-150000.1.5.1 SUSE-SU-2025:02924-1

22 more rows

alma 2 releases · 2 packages

fixed 2
golang-docs podman
alma fixes for CVE-2025-47907
ReleasePackageFixed in
10 golang-docs +3 1.24.6-1.el10_0.alma.1
9 podman +4 6:5.6.0-6.el9_7

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2025-47907
ReleasePackageFixed in
3.22 go 1.24.6-r0
3.23 go 1.24.6-r0
3.24 go 1.24.6-r0
edge go 1.24.6-r0

amazon linux 1 release · 1 package

fixed 1
golang
amazon linux fixes for CVE-2025-47907
ReleasePackageFixed in
2023 golang +6 1.24.6-1.amzn2023.0.1

chainguard 1 release · 575 packages

not affected 1 fixed 574
actions-runner-controller-fips qemu-guesthelper pombump local-path-provisioner-fips sbom-scorecard sbom-convert +569
chainguard fixes for CVE-2025-47907
ReleasePackageFixed in
actions-runner-controller-fips +502 not affected
qemu-guesthelper 0.0.1-r4
pombump 0.0.14-r3
local-path-provisioner-fips 0.0.32-r1
sbom-scorecard 0.0.7-r23
sbom-convert 0.0.7-r4

569 more rows

debian 4 releases · 4 packages

affected 3 fixed 1
golang-1-15 golang-1-19 golang-1-23 golang-1-24
debian fixes for CVE-2025-47907
ReleasePackageFixed in
11 golang-1-15 affected
12 golang-1-19 affected
13 golang-1-23 +1 affected
14 golang-1-24 1.24.7-1

echo 1 release · 2 packages

affected 1 fixed 1
golang-1-19 golang-1-24
echo fixes for CVE-2025-47907
ReleasePackageFixed in
golang-1-19 affected
golang-1-24 1.24.6

minimos 1 release · 111 packages

fixed 111
pombump falcoctl ollama cue configmap-reload external-secrets-operator +105
minimos fixes for CVE-2025-47907
ReleasePackageFixed in
pombump 0.0.14-r3
falcoctl 0.11.2-r3
ollama 0.11.4-r0
cue 0.14.0-r1
configmap-reload 0.15.0-r1
external-secrets-operator 0.19.1-r0

105 more rows

openSUSE 1 release · 9 packages

fixed 9
govulncheck-vulndb go1-23 go1-24 go1-25 polaris azure-storage-azcopy +3
openSUSE fixes for CVE-2025-47907
ReleasePackageFixed inAdvisory
Tumbleweed govulncheck-vulndb 0.0.20250807T150727-1.1 openSUSE-SU-2025:15424-1
Tumbleweed go1-23 +3 1.23.12-1.1 openSUSE-SU-2025:15422-1
Tumbleweed go1-24 +3 1.24.6-1.1 openSUSE-SU-2025:15423-1
Tumbleweed go1-25 +3 1.25rc3-1.1 openSUSE-SU-2025:15420-1
Tumbleweed polaris +3 10.1.1-1.1 openSUSE-SU-2025:15466-1
Tumbleweed azure-storage-azcopy 10.30.1-1.1 openSUSE-SU-2025:15594-1

3 more rows

root.io debian 2 releases · 2 packages

affected 1 fixed 1
rootio-golang-1-19 golang-1-24
root.io debian fixes for CVE-2025-47907
ReleasePackageFixed in
12 rootio-golang-1-19 affected
13 golang-1-24 +1 1.24.4-1.root.io.12

ubuntu 5 releases · 3 packages

affected 5
golang-1-13 golang-1-21 golang-1-23
ubuntu fixes for CVE-2025-47907
ReleasePackageFixed in
18.04-ESM golang-1-13 +2 affected
20.04-ESM golang-1-13 +6 affected
22.04 golang-1-13 +7 affected
24.04 golang-1-21 +2 affected
26.04 golang-1-23 affected

wolfi 1 release · 328 packages

not affected 1 fixed 327
addon-resizer pombump sbom-scorecard sbom-convert harbor-cli promxy +322
wolfi fixes for CVE-2025-47907
ReleasePackageFixed in
addon-resizer +202 not affected
pombump 0.0.14-r3
sbom-scorecard 0.0.7-r23
sbom-convert 0.0.7-r4
harbor-cli 0.0.8-r2
promxy 0.0.93-r3

322 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.