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.
Metrics
Affected Vendors & Products
References
History
Thu, 14 Aug 2025 12:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Thu, 07 Aug 2025 22:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Golang
Golang database Sql |
|
Vendors & Products |
Golang
Golang database Sql |
Thu, 07 Aug 2025 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
cvssV3_1
|
Thu, 07 Aug 2025 15:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Incorrect results returned from Rows.Scan in database/sql | |
References |
|

Status: PUBLISHED
Assigner: Go
Published: 2025-08-07T15:25:30.704Z
Updated: 2025-08-07T15:48:03.634Z
Reserved: 2025-05-13T23:31:29.597Z
Link: CVE-2025-47907

Updated: 2025-08-07T15:47:25.067Z

Status : Awaiting Analysis
Published: 2025-08-07T16:15:30.357
Modified: 2025-08-07T21:26:37.453
Link: CVE-2025-47907
