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.
References (5)
Core 5
Core References
Patch
https://go.dev/cl/693735
Issue Tracking, Third Party Advisory
https://go.dev/issue/74831
Mailing List, Release Notes
https://groups.google.com/g/golang-announce/c/x5MKroML2yM
Vendor Advisory
https://pkg.go.dev/vuln/GO-2025-3849
Mailing List, Release Notes
http://www.openwall.com/lists/oss-security/2025/08/06/1
Scores
CVSS v3
7.0
EPSS
0.0002
EPSS Percentile
5.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-362
Status
published
Products (1)
golang/go
< 1.23.12
Published
Aug 07, 2025
Tracked Since
Feb 18, 2026