CVE-2025-47907
Incorrect results returned from Rows.Scan in database/sql
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.437% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Assessment source · checked 2026-11-19T16:50:18.698Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T16:50:18.698Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:40.990Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:39.236Z | OSV |
| affected | verified | 2026-11-19T12:57:35.117Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:35.117Z | CVE Program |
Affected versions and configuration
Go standard library database/sql; default status: unaffected: 0 to < 1.23.12 [affected; scheme: semver]; 1.24.0 to < 1.24.6 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.23",
"debian": "https://tracker.debian.org/pkg/golang-1.23",
"source": "https://ubuntu.com/security/cve?package=golang-1.23",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.22",
"debian": "https://tracker.debian.org/pkg/golang-1.22",
"source": "https://ubuntu.com/security/cve?package=golang-1.22",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go standard library",
"product": "database/sql",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.23.12",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.24.0",
"lessThan": "1.24.6",
"versionType": "semver"
}
],
"packageName": "database/sql",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Rows.Scan"
},
{
"name": "Row.Scan"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "LOW",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-47907",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-08-07T15:45:26.297503Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-08-07T15:48:03.634Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2025/08/06/1"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T21:10:56.083Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2025-3849",
"aliases": [
"BIT-golang-2025-47907",
"CVE-2025-47907"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.23.12"
},
{
"introduced": "1.24.0"
},
{
"fixed": "1.24.6"
}
]
}
],
"package": {
"name": "stdlib",
"purl": "pkg:golang/stdlib",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2025-3849.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "database/sql",
"symbols": [
"Row.Scan",
"Rows.Scan"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/693735",
"type": "FIX"
},
{
"url": "https://go.dev/issue/74831",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/x5MKroML2yM",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-3849",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.23.12 | Official record |
| ecosystem-boundary | Go / package | stdlib | Not a distribution channel | 1.24.6 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:50:18.698ZArchived source JSON
Source publication: 2025-08-07T16:15:00.000Z
Source modification: 2026-11-09T05:50:54.613ZDocument fingerprint
5e3a0376f2a56a54c6060da4117b4b585eb797d09f8e06f4068d58213af6defd - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:35.117ZArchived source JSON
Source publication: 2025-08-07T15:25:30.704Z
Source modification: 2025-11-04T21:10:56.083ZDocument fingerprint
46b914377ef98b36191e1ea7512aaaccde651be43a0426b87cd352f793fe5d2b - Ubuntu SecurityConsulted: 2026-11-19T16:52:11.591ZArchived source JSON
Source publication: 2025-08-07T16:15:00.000Z
Source modification: 2026-11-09T05:50:54.613ZDocument fingerprint
ac7a517f42527070e16072d9f8be958011a8cf3cb106728788a2051316309efc - OSVConsulted: 2026-11-19T12:52:39.236ZArchived source JSON
Source publication: 2025-08-07T15:07:27.000Z
Source modification: 2026-05-30T10:29:20.514ZDocument fingerprint
4ca7818b395ba1078372d8aa5d2c3c1d10796ecab94cc944cbdcb6a19ce4ed17 - FIRST EPSSConsulted: 2026-11-19T16:04:40.990ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a61f5deec65b1a30b54fc6ad686dda6767c11c22f88b3bf1af4c6db9cb0d67b3
Official status history
- UNKNOWN → PUBLISHED · · evidence