Vulnerabilities

CVE-2025-47907

High 7.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-08-07
Last modified
2026-06-17
Assigned by
security@golang.org
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.4 % higher than 28 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Golang Go < 1.23.12 Affected
Golang Go ≥ 1.24.0, < 1.24.6 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities