# CVE-2023-24532: Incorrect calculation on P256 curves in crypto/internal/nistec

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2023-03-08T19:30:53.000Z
- Modified: 2026-09-08T08:47:48.509Z
- Also known as: GO-2023-1621, BIT-GOLANG-2023-24532
- Related: CGA-75v9-xfmp-x866, RHSA-2023:3318, RHSA-2023:3319
- Weaknesses: CWE-682
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

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.

(As written by CVE List.)

## Affected

- crypto/internal/nistec: before 1.19.7; from 1.20.0-0 before 1.20.2
- stdlib (Go): before 1.19.7; from 1.20.0-0 before 1.20.2
- golang go: before 1.19.7; from 1.20.0 before 1.20.2
- golang (Bitnami): before 1.19.7; from 1.20.0 before 1.20.2

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/issue/58647> (fix, issue-tracking, patch, report)
- <https://go.dev/cl/471255> (fix, patch)
- <https://groups.google.com/g/golang-announce/c/3-TpUx48iQY> (discussion, mailing-list, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2023-1621> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230331-0011/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-24532> (web)

## Sources

- CVE List: [CVE-2023-24532](https://www.cve.org/CVERecord?id=CVE-2023-24532), CVE Terms of Use, modified 2024-08-02
- Go Vulnerability Database: [GO-2023-1621](https://pkg.go.dev/vuln/GO-2023-1621), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-24532](https://nvd.nist.gov/vuln/detail/CVE-2023-24532), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2023-24532](https://osv.dev/vulnerability/BIT-GOLANG-2023-24532), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-24532 · Whole record: https://cve.day/CVE-2023-24532.json · Rebuilt by cve.day 2026-11-25T22:58:22.335Z
