CVE-2025-47907

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
Link Resource
https://go.dev/cl/693735 Patch
https://go.dev/issue/74831 Issue Tracking Third Party Advisory
https://groups.google.com/g/golang-announce/c/x5MKroML2yM Mailing List Release Notes
https://pkg.go.dev/vuln/GO-2025-3849 Vendor Advisory
http://www.openwall.com/lists/oss-security/2025/08/06/1 Mailing List Release Notes
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-08-07 16:15

Updated : 2026-01-29 19:11


NVD link : CVE-2025-47907

Mitre link : CVE-2025-47907

CVE.ORG link : CVE-2025-47907


JSON object : View

Products Affected

golang

  • go
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')