CVE-2025-47907 in Golang Go
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Golang | Go | < 1.23.12 ≥ 1.24.0, < 1.24.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-47907 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-245115-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| Published | 2025-08-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-47907 involves a race condition in the Scan method of the returned Rows when a query is cancelled during execution. This can lead to unexpected results due to potential overwrites from other parallel queries.
The vulnerability arises when a query is cancelled by passing a cancelled context to the Scan method. If other queries are running in parallel, the cancellation can cause a race condition, leading to the overwriting of expected results with those from another query.
Questions
What is CVE-2025-47907?
CVE-2025-47907 involves a race condition in the Scan method of the returned Rows when a query is cancelled during execution. This can lead to unexpected results due to potential overwrites from other parallel queries.
What is the CVSS score for CVE-2025-47907?
CVE-2025-47907 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L. EPSS: 0.5%.
Is CVE-2025-47907 actively exploited?
No confirmed active exploitation of CVE-2025-47907 as of 2026-09-25.
How do I remediate CVE-2025-47907?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2025-47907?
CVE-2025-47907 affects Golang Go.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Golang","product":"Go","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.