CVE-2025-47907
published high CVSS 3.1 · 7.0Incorrect results returned from Rows.Scan in database/sql
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | database/sql0 to < 1.23.12 · 1.24.0 to < 1.24.6 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2984 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1161 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | golang-docs | Advisory build | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
| Alpine Linux | edge | go | Fixed | 1.24.6-r0 | Package fix record |
| Oracle Linux | 10 | podmanaarch64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| AlmaLinux | 10 | golang-misc | Advisory build | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | golang-src | Advisory build | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
| AlmaLinux | 10 | golang-tests | Advisory build | 1.24.6-1.el10_0.alma.1 | ALSA-2025:13941 |
| AlmaLinux | 10 | podman | Advisory build | 7:5.6.0-5.el10_1 | ALSA-2025:20983 |
| AlmaLinux | 10 | podman-docker | Advisory build | 7:5.6.0-5.el10_1 | ALSA-2025:20983 |
| AlmaLinux | 10 | podman-remote | Advisory build | 7:5.6.0-5.el10_1 | ALSA-2025:20983 |
| AlmaLinux | 10 | podman-tests | Advisory build | 7:5.6.0-5.el10_1 | ALSA-2025:20983 |
| AlmaLinux | 9 | podman | Advisory build | 6:5.6.0-6.el9_7 | ALSA-2025:20909 |
| AlmaLinux | 9 | podman-docker | Advisory build | 6:5.6.0-6.el9_7 | ALSA-2025:20909 |
| AlmaLinux | 9 | podman-plugins | Advisory build | 6:5.6.0-6.el9_7 | ALSA-2025:20909 |
| AlmaLinux | 9 | podman-remote | Advisory build | 6:5.6.0-6.el9_7 | ALSA-2025:20909 |
| AlmaLinux | 9 | podman-tests | Advisory build | 6:5.6.0-6.el9_7 | ALSA-2025:20909 |
| Alpine Linux | v3.22 | go | Fixed | 1.24.6-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.24.6-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.24.6-r0 | Package fix record |
| Oracle Linux | 10 | podmanx86_64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 10 | podman-dockeraarch64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 10 | podman-dockerx86_64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 10 | podman-remoteaarch64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 10 | podman-remotex86_64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 10 | podman-testsaarch64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 10 | podman-testsx86_64 | Advisory build | 7:5.6.0-6.0.1.el10_1 | ELSA-2025-20983 |
| Oracle Linux | 9 | podmanaarch64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podmanx86_64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-dockeraarch64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-dockerx86_64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-pluginsaarch64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-pluginsx86_64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-remoteaarch64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-remotex86_64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-testsaarch64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Oracle Linux | 9 | podman-testsx86_64 | Advisory build | 6:5.6.0-6.0.1.el9_7 | ELSA-2025-20909 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsets390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetx86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangs390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangsrc | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangx86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-bins390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binx86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-docsnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-miscnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-raceaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-raceppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-races390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-racex86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-srcnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-testsnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | podmanaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podmanppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podmans390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podmansrc | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podmanx86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debuginfoaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debuginfoppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debuginfos390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debuginfox86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debugsourceaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debugsourceppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debugsources390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-debugsourcex86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-dockernoarch | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remoteaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remoteppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remotes390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remotex86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remote-debuginfoaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remote-debuginfoppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remote-debuginfos390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-remote-debuginfox86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-testsaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-testsppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-testss390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-testsx86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-tests-debuginfoaarch64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-tests-debuginfoppc64le | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-tests-debuginfos390x | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-10 | podman-tests-debuginfox86_64 | Advisory build | 7:5.6.0-5.el10_1 | RHSA-2025:20983 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:21383 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:21385 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:21384 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:21382 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:21383 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:21385 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:21384 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:21382 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:21383 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:21385 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:21384 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:21382 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:21383 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:21385 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | database/sql | 0 to < 1.23.12 (affected · semver)1.24.0 to < 1.24.6 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
5Provider assertions
3Go · cna
Incorrect results returned from Rows.Scan in database/sql
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 46b914377ef98b36191e1ea7512aaaccde651be43a0426b87cd352f793fe5d2b
- Ingested
- 23 Sep 2026, 08:50:18 UTC
- Source record
- Official CVE record