CVE-2025-47907Incorrect results returned from Rows.Scan in database/sql
- 7.0HighCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 62% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Go
- 3 months later
· 3 months later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVDNVD · Analyzed | 3.1 | High7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.44% · top 62% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Affected products
Go standard library · database/sql
- affected < 1.23.12
- affected 1.24.0 – < 1.24.6
References
References5
- https://go.dev/cl/693735 (opens in a new tab)
- https://go.dev/issue/74831 (opens in a new tab)
- https://groups.google.com/g/golang-announce/c/x5MKroML2yM (opens in a new tab)
- https://pkg.go.dev/vuln/GO-2025-3849 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/08/06/1 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-23921 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-47907)Record last updated .