Vulnerability · Published Feb 6, 2025 · Assigned by Go

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

Medium 4.0

In plain English

A medium-severity security flaw in crypto/internal/nistec from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.3%top 78.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10delve1.24.1-1.el10_0ALSA-2025:7466
AlmaLinux:10go-toolset1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:10golang1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:10golang-bin1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:10golang-docs1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:10golang-misc1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:10golang-src1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:10golang-tests1.23.7-1.el10_0.alma.1ALSA-2025:7466
AlmaLinux:8osbuild-composer101.5-3.el8_10.alma.1ALSA-2026:67148
AlmaLinux:8osbuild-composer-core101.5-3.el8_10.alma.1ALSA-2026:67148
AlmaLinux:8osbuild-composer-worker101.5-3.el8_10.alma.1ALSA-2026:67148
Alpine:v3.21go1.23.6-r0ALPINE-CVE-2025-22866
Alpine:v3.22go1.23.6-r0ALPINE-CVE-2025-22866
Alpine:v3.23go1.23.6-r0ALPINE-CVE-2025-22866
Alpine:v3.24go1.23.6-r0ALPINE-CVE-2025-22866
Debian:12golang-1.19no fix listedDEBIAN-CVE-2025-22866
Debian:13golang-1.241.24~rc3-1DEBIAN-CVE-2025-22866
Gostdlib1.22.12, 1.23.6, 1.24.0-rc.3GO-2025-3447
Rocky Linux:10delve0:1.24.1-1.el10_0RLSA-2025:7466
Rocky Linux:9delve0:1.24.1-2.el9_6RLSA-2025:3773
Rocky Linux:10golang0:1.23.7-1.el10_0RLSA-2025:7466
Rocky Linux:9golang0:1.23.6-2.el9_6RLSA-2025:3773
Rocky Linux:8osbuild-composer0:101.5-3.el8_10.rocky.0.6RLSA-2026:67148
Ubuntu:22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2025-22866
Ubuntu:22.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2025-22866
Ubuntu:22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2025-22866
Ubuntu:22.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2025-22866
Ubuntu:24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2025-22866
Ubuntu:22.04:LTSgolang-1.221.22.2-2~22.04.3USN-7574-1
Ubuntu:22.04:LTSgolang-1.221.22.2-2~22.04.3UBUNTU-CVE-2025-22866
Ubuntu:24.04:LTSgolang-1.221.22.2-2ubuntu0.4USN-7574-1
Ubuntu:24.04:LTSgolang-1.221.22.2-2ubuntu0.4UBUNTU-CVE-2025-22866
Ubuntu:22.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-22866
Ubuntu:24.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-22866
Ubuntu:25.10golang-1.23no fix listedUBUNTU-CVE-2025-22866
Ubuntu:26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2025-22866
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-22866
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-22866
Ubuntu:25.10golang-1.24no fix listedUBUNTU-CVE-2025-22866
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-22866

Affected products (as reported)

VendorProductVersions
Go standard library crypto/internal/nistec 0 – before 1.22.121.23.0-0 – before 1.23.61.24.0-0 – before 1.24.0-rc.3

References