CVEvulnerability
CVE-2025-47907
7.0 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2025-08-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.0 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
- Weaknesses
- CWE-362
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.
Affected configurations
• golang go (< 1.23.12)
• golang go (>= 1.24.0 < 1.24.6)
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- 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