CVE-2025-47907
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.36%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.0 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
- EPSS
- 0.36% probability · 29th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-362
- Affected
- golang/go
- Source
- security@golang.org
References
- https://go.dev/cl/693735Patch
- https://go.dev/issue/74831Issue Tracking, Third Party Advisory
- https://groups.google.com/g/golang-announce/c/x5MKroML2yMMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2025-3849Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/08/06/1Mailing List, Release Notes
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.