All reports
Medium

Incorrect computation for P-256 curves in crypto/elliptic

Affected versions

Affected versions
>=1.6.0-0 <1.7.6 || >=1.8.0-0 <1.8.2
Fixed version
1.7.6 · 1.8.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2017-8932

Probability of exploitation in the next 30 days: 2.23%

FIRST EPSS · 2026-11-22

Description

The ScalarMult implementation of curve P-256 for amd64 architectures generates incorrect results for certain specific input points. An adaptive attack can progressively extract the scalar input to ScalarMult by submitting crafted points and observing failures to derive correct output. This leads to a full key recovery attack against static ECDH, as used in popular JWT libraries.

Links

Credits

  • Vlad Krasnov
  • Filippo Valsorda at Cloudflare