High severity · published Aug 7, 2025
CVE-2025-47907
Incorrect results returned from Rows.Scan in database/sql
7.0
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DA
database/sql · Go standard library
before 1.23.12; 1.24.0 before 1.24.6 · source: vendor
GO
GO · Golang
before 1.23.12; 1.24.0 before 1.24.6 · source: NVD