{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-47907","id":"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 ","descriptionLong":"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.","published":"2025-08-07T15:25:30.704Z","updated":"2026-10-29T11:42:25.989865226Z","reserved":"2025-05-13T23:31:29.597Z","status":"Analyzed","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["Go standard library database/sql"],"affectedProducts":[{"vendor":"Go standard library","product":"database/sql","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.23.12","status":"affected","versionType":"semver"},{"version":"1.24.0","lessThan":"1.24.6","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.23.12",">=1.24.0 <1.24.6"],"fixed":["1.23.12","1.24.6"],"advisory":"GO-2025-3849"}],"cwes":["CWE-362"],"aliases":["BIT-golang-2025-47907","GO-2025-3849"],"references":[{"url":"https://go.dev/cl/693735","tags":["Patch","web","fix"]},{"url":"https://go.dev/issue/74831","tags":["Issue Tracking","Third Party Advisory","web","report"]},{"url":"https://groups.google.com/g/golang-announce/c/x5MKroML2yM","tags":["Mailing List","Release Notes","web"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3849","tags":["Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/06/1","tags":["Mailing List","Release Notes","web"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47907.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47907","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00437,"epssPercentile":0.38693,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-47907","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47907","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-47907","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47907","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}