CVE-2023-24532
MEDIUM 5.3CVSS 3.1Incorrect calculation on P256 curves in crypto/internal/nistec
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.
- Published
- 8 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-682
- Also known as
- BIT-golang-2023-24532GO-2023-1621
- Sources
- NVDJSONOSV GO-2023-1621JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.19.7 | 1.19.7 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.20.0, < 1.20.2 | 1.20.2 |
| OSV | Go | stdlib | < 1.19.7; >= 1.20.0-0, < 1.20.2 | 1.19.7, 1.20.2 |
References
- https://go.dev/cl/471255 · Patch, FIX
- https://go.dev/issue/58647 · Issue Tracking, Patch, REPORT
- https://groups.google.com/g/golang-announce/c/3-TpUx48iQY · Mailing List, Release Notes, WEB
- https://pkg.go.dev/vuln/GO-2023-1621 · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230331-0011/
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Mar 2023)