All CVEs / Go standard library
CVE-2025-22866Go standard library crypto/internal/nistec
Medium 4.0
Follow: this CVE · Go standard library · Go standard library crypto/internal/nistec We alert you by email or Slack (account required).
- Priority
- 24
- CVSS 3.1
- 4.0
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 6, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for crypto/internal/nistec.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.22.12 |
1.22.12 |
go get stdlib@v1.22.12 |
| Go | stdlib |
≥ 1.23.0-0 < 1.23.6 |
1.23.6 |
go get stdlib@v1.23.6 |
| Go | stdlib |
≥ 1.24.0-0 < 1.24.0-rc.3 |
1.24.0-rc.3 |
go get stdlib@v1.24.0-rc.3 |
Per OSV / GitHub Advisories (GO-2025-3447). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · crypto/internal/nistec
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: git-lfs security update · Red Hat · RHSA-2026:95234 · Nov 23, 2026 High
- Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:90994 · Nov 23, 2026 High
- Red Hat Security Advisory: grafana-pcp security update · Red Hat · RHSA-2026:88394 · Nov 23, 2026 High
Also: Red Hat (+16)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.