Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-24532

Incorrect calculation on P256 curves in crypto/internal/nistec

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library crypto/internal/nistec

Default version status: unaffected

  • 0 to < 1.19.7affected
  • 1.20.0-0 to < 1.20.2affected

References