Timing Attack Affecting std/crypto/internal/nistec package, versions <1.22.12>=1.23.0-0 <1.23.6>=1.24.0-0 <1.24.0-rc.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDCRYPTOINTERNALNISTEC-14565601
  • published6 Jan 2026
  • disclosed6 Feb 2025
  • creditUnknown

Introduced: 6 Feb 2025

CVE-2025-22866  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade std/crypto/internal/nistec to version 1.22.12, 1.23.6, 1.24.0-rc.3 or higher.

Overview

std/crypto/internal/nistec is a Go standard library package std/crypto/internal/nistec

Affected versions of this package are vulnerable to Timing Attack.

Go Vulnerability Report:
due to the use of a variable time instruction in the assembly implementation of the function, a small number of bits of secret scalars may be exposed on the ppc64le architecture. An attacker can potentially infer partial information about secret values by analyzing timing variations. This is only exploitable if the code is running on the ppc64le architecture and the attacker can accurately measure timing differences.

CVSS Base Scores

version 4.0
version 3.1