4.0Medium

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

Go standard library crypto/internal/nistec Published: (1 year ago)

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.

Weakness (CWE): CWE-208

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library crypto/internal/nistec < 1.22.12, 1.23.0-0 – < 1.23.6, 1.24.0-0 – < 1.24.0-rc.3

References and patches