CVE-2025-47907
Incorrect results returned from Rows.Scan in database/sql
7.0
HIGH
CVSS 3.1
EPSS 0.07%
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.
How to fix CVE-2025-47907
To remediate CVE-2025-47907, upgrade the affected package to a fixed version below.
- —upgrade to 1.23.12 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.23.12 or later
Is CVE-2025-47907 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 1.23.12, >= 1.24.0, < 1.24.6
- from 0
- from 0
- from 0
- from 0, < 1.23.12, >= 1.24.0, < 1.24.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |