Incorrect results returned from Rows.Scan in database/sql
cve-program · CVE-2025-47907
PublishedCancelling 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.
Read the publisher's advisoryeuvd · EUVD-2025-23921
PublishedCancelling 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.
Read the publisher's advisorynvd · CVE-2025-47907
PublishedCancelling 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.
Read the publisher's advisoryosv · GO-2025-3849
PublishedCancelling 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-47907 · CVE overview and exploitation status
cve-program · CVE-2025-47907
- https://go.dev/cl/693735
- https://go.dev/issue/74831
- https://groups.google.com/g/golang-announce/c/x5MKroML2yM
- https://pkg.go.dev/vuln/GO-2025-3849
euvd · EUVD-2025-23921
- https://go.dev/cl/693735
- https://go.dev/issue/74831
- https://groups.google.com/g/golang-announce/c/x5MKroML2yM
- https://pkg.go.dev/vuln/GO-2025-3849
nvd · CVE-2025-47907
- https://go.dev/cl/693735
- https://go.dev/issue/74831
- https://groups.google.com/g/golang-announce/c/x5MKroML2yM
- https://pkg.go.dev/vuln/GO-2025-3849
- http://www.openwall.com/lists/oss-security/2025/08/06/1
osv · GO-2025-3849
Related changes
Linked by CVE identifier- 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 … · Advisory content revised · 5 Nov 2026
- Release 2026-02-08 · Tool release · 17 Feb 2026
- Release 2025-10-12 · Tool release · 17 Oct 2025
- Release 2025-09-21 · Tool release · 26 Sep 2025
- Release 2025-08-29 · Tool release · 2 Sep 2025