CVE-2022-23806

CRITICAL9.1EPSS 0.04%

Incorrect computation for some invalid field elements in crypto/elliptic

Published: 5/23/2022Modified: 4/28/2026

Description

Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References (12)