Vulnerability in Golang Go
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L.
EPSS exploit prediction
EPSS: 0.004 (28.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 28.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Golang Go
- Go Standard Library Database/sql — versions 0, 1.24.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- go.dev/cl/693735 (Patch)
- go.dev/issue/74831 (Third Party Advisory, Issue Tracking)
- groups.google.com/g/golang-announce/c/x5MKroML2yM (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2025-3849 (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Release Notes)
Frequently asked questions
- What is CVE-2025-47907?
- CVE-2025-47907 is a high-severity vulnerability in Golang Go, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 7.0/10. Published 2025-08-07.
- How severe is CVE-2025-47907?
- High severity. CVSS v3 base score is 7.0 out of 10.
- Is CVE-2025-47907 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.