{"id":"GO-2025-3849","revision":"cd0ada80fc9942fdb12b839eed687c09","records":[{"revision":"cd0ada80fc9942fdb12b839eed687c09","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-3849","aliases":["BIT-golang-2025-47907","CVE-2025-47907"],"title":"Incorrect results returned from Rows.Scan in database/sql","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.","state":0,"publishedAt":"2025-08-07T15:07:27+00:00","modifiedAt":"2026-05-30T10:29:20.5143423+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.23.12"},{"kind":"introduced","version":"1.24.0"},{"kind":"fixed","version":"1.24.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/693735","https://go.dev/issue/74831","https://groups.google.com/g/golang-announce/c/x5MKroML2yM"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-3849","license":"OSV · upstream source license applies","key":"osv:GO-2025-3849","identifiers":["GO-2025-3849","BIT-golang-2025-47907","CVE-2025-47907"]},"retained":false,"historicalAffected":[]}],"coverage":[]}