Vulnerability
CVE-2025-47907
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.
6850 advisories report this vulnerability, across 14 ecosystems.
Advisories in Red Hat
-
RHSA-2025:13935
Red Hat Security Advisory: golang security update
-
RHSA-2025:13941
Red Hat Security Advisory: golang security update
-
RHSA-2025:19397
Red Hat Security Advisory: golang security update
-
RHSA-2025:19731
Red Hat Security Advisory: podman security update
-
RHSA-2025:20909
Red Hat Security Advisory: podman security update
-
RHSA-2025:20983
Red Hat Security Advisory: podman security update
-
RHSA-2025:21336
Red Hat Security Advisory: golang security update
-
RHSA-2025:21337
Red Hat Security Advisory: golang security update
-
RHSA-2025:21382
Red Hat Security Advisory: go-toolset:rhel8 security update
-
RHSA-2025:21383
Red Hat Security Advisory: go-toolset:rhel8 security update
-
RHSA-2025:21384
Red Hat Security Advisory: go-toolset:rhel8 security update
-
RHSA-2025:21385
Red Hat Security Advisory: go-toolset:rhel8 security update
-
RHSA-2026:1084
Red Hat Security Advisory: podman security update
-
RHVEX-CVE-2025-47907
database/sql: Postgres Scan Race Condition