cve.bz

CVE-2025-22866 go standard library crypto/internal/nistec

4.0 mediumEPSS 0.3%Fix available

Medium (4.0) in go standard library crypto/internal/nistec. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.22.12, 1.23.6, 1.24.0-rc.3.

On this page
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.

Severity

CVSS 3.1

4.0 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-22866 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22866?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22866?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22866 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library crypto/internal/nistecbefore 1.22.12
Go standard library crypto/internal/nistecfrom 1.23.0-0 before 1.23.6
Go standard library crypto/internal/nistecfrom 1.24.0-0 before 1.24.0-rc.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2025-3447Gostdlib<1.22.12
>=1.23.0-0 <1.23.6
>=1.24.0-0 <1.24.0-rc.3
1.22.12, 1.23.6, 1.24.0-rc.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2025-22866
Debian13golang-1.241.24~rc3-1DEBIAN-CVE-2025-22866
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2025-22866
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2025-22866
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2025-22866
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2025-22866
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 3 moreno fix listedUBUNTU-CVE-2025-22866
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.3UBUNTU-CVE-2025-22866 USN-7574-1
Ubuntu24.04:LTSgolang-1.21, golang-1.23no fix listedUBUNTU-CVE-2025-22866
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.4UBUNTU-CVE-2025-22866 USN-7574-1
Ubuntu25.10golang-1.23, golang-1.24no fix listedUBUNTU-CVE-2025-22866
Ubuntu26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2025-22866
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2025-22866
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2025-22866
2 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.22-openssl1.22.12-150000.1.12.1SUSE-SU-2025:1555-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morego1.23-openssl1.23.9-150000.1.9.1SUSE-SU-2025:01731-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.221.22.12-150000.1.42.1SUSE-SU-2025:0392-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.231.23.6-150000.1.21.1SUSE-SU-2025:0393-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.241.24rc3-150000.1.6.1SUSE-SU-2025:0431-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSELeap 15.6go1.221.22.12-150000.1.42.1SUSE-SU-2025:0392-1
openSUSELeap 15.6go1.231.23.6-150000.1.21.1SUSE-SU-2025:0393-1
openSUSELeap 15.6go1.23-openssl1.23.12-150600.13.9.1SUSE-SU-2025:03159-1
openSUSELeap 15.6go1.241.24rc3-150000.1.6.1SUSE-SU-2025:0431-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSETumbleweedgo1.221.22.12-1.1openSUSE-SU-2025:14745-1
openSUSETumbleweedgo1.231.23.6-1.1openSUSE-SU-2025:14746-1
openSUSETumbleweedgo1.241.24rc3-1.1openSUSE-SU-2025:14735-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250207T224745-1.1openSUSE-SU-2025:14754-1
openSUSETumbleweedopentofu1.9.1-1.1openSUSE-SU-2025:15030-1
AlmaLinux8osbuild-composer, osbuild-composer-core, osbuild-composer-worker101.5-3.el8_10.alma.1ALSA-2026:67148
AlmaLinux10delve1.24.1-1.el10_0ALSA-2025:7466
AlmaLinux10golang, go-toolset, golang-bin and 4 more1.23.7-1.el10_0.alma.1ALSA-2025:7466
Rocky Linux8osbuild-composer0:101.5-3.el8_10.rocky.0.6RLSA-2026:67148
Rocky Linux9delve0:1.24.1-2.el9_6RLSA-2025:3773
Rocky Linux9golang0:1.23.6-2.el9_6RLSA-2025:3773
Rocky Linux10delve0:1.24.1-1.el10_0RLSA-2025:7466
Rocky Linux10golang0:1.23.7-1.el10_0RLSA-2025:7466
Alpinev3.21, v3.22, v3.23 and 1 morego1.23.6-r0ALPINE-CVE-2025-22866

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: Red Hat product builds using the Golang crypto/internal/nistec component on ppc64le are exposed to a timing side channel. A variable-time instruction in an internal assembly function leaks a small number of bits of secret scalars; given how the function is used, the leakage is likely insufficient to recover a private key when P-256 is used in well-known protocols. The current affects cover Red Hat Enterprise Linux, OpenShift Container Platform, and other Red Hat products, while entries resolved as Not a Bug, Obsolete, or delegated NOTAFFECTED are outside the actionable affected scope. For the DEFER entries, remediation is deferred because the leakage is not believed sufficient for private-key recovery in those protocols; the residual risk is limited scalar-bit leakage on ppc64le. For DELEGATED entries, the same Moderate impact is being handled by the relevant product teams, with a fix being pursued. Red Hat's CVSS is 5.3 Moderate with a network attack vector, compared with CISA's 4.0 Moderate local-vector assessment.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
HawtIO HawtIO 4.2.0hawtio-operator-containerFixed 2025-06-10RHSA-2025:8761
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/observatorium-rhel9:v2.11.7-10Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/observatorium-rhel9-operator:v2.11.7-13Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/prometheus-alertmanager-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/prometheus-rhel9:v2.11.7-8Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/rbac-query-proxy-rhel9:v2.11.7-13Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/submariner-addon-rhel9:v2.11.7-16Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/thanos-receive-controller-rhel9:v2.11.7-7Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/thanos-rhel9:v2.11.7-9Fixed 2025-05-07RHSA-2025:4666
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9rhacm2/lighthouse-agent-rhel9:v0.18.5-3Fixed 2025-05-12RHSA-2025:4810
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-agent-rhel8Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-rhel8Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Affected
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9-operatorAffected
Cryostat 3cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8Fix deferred
Cryostat 3cryostat-tech-preview/cryostat-rhel8-operatorFix deferred
Cryostat 3cryostat-tech-preview/cryostat-storage-rhel8Fix deferred
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Not affected
676 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22866.

References

Check your stackJSON