published 8 Mar 2023 · updated 17 Sep 2026
Incorrect calculation on P256 curves in crypto/internal/nistec
5.3MediumCVSS 5.3EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.19.7 and 1.20.2.
The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.19.7, >=1.20.0-0 <1.20.2 | 1.19.7, 1.20.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket