ADVISORIES

Go Vulnerability Database

GO-2025-3447

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

Details

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 packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.22.12 (fixed in 1.22.12)
From 1.23.0-0 before 1.23.6 (fixed in 1.23.6)
From 1.24.0-0 before 1.24.0-rc.3 (fixed in 1.24.0-rc.3)

References