CVE-2023-24532

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

VendorProductVersionsFixed
Go standard library<1.19.7, >=1.20.0-0 <1.20.21.19.7, 1.20.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-24532 severity on Zeptric[![CVE-2023-24532](https://zeptric.io/badge/cve/CVE-2023-24532.svg)](https://zeptric.io/cve/CVE-2023-24532)