CVE-2025-47907

published 7 Aug 2025 · updated 21 Feb 2026

Incorrect results returned from Rows.Scan in database/sql

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.23.12 and 1.24.6.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.23.12, >=1.24.0 <1.24.61.23.12, 1.24.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-47907 severity on Zeptric[![CVE-2025-47907](https://zeptric.io/badge/cve/CVE-2025-47907.svg)](https://zeptric.io/cve/CVE-2025-47907)