What’s Vulnerable › Vulnerabilities

CVE-2025-22866: Timing sidechannel for P-256 on ppc64le in crypto/internal/nistec

Description

Due to the usage of a variable time instruction in the assembly implementation of an internal function, a small number of bits of secret scalars are leaked on the ppc64le architecture. Due to the way this function is used, we do not believe this leakage is enough to allow recovery of the private key when P-256 is used in any well known protocols.

Affected products

How to fix

Upgrade to a fixed version: Go standard library crypto/internal/nistec 1.22.12, 1.23.6, 1.24.0-rc.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22866 or the next vulnerability affects your stack