Has it been Pwned
ImplementationPractical impact

Practical invalid-curve attacks extract static TLS-ECDH server keys

Jager, Schwenk and Somorovsky (ESORICS 2015) showed that TLS servers using static ECDH keys could be made to compute with attacker-chosen points that are not on the intended curve. Each response leaks the secret key modulo a small number, and combining them recovers the full key. Oracle's Java (SunEC) and Bouncy Castle were vulnerable; of the eight libraries tested, others validated points or were otherwise unexploitable.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

The underlying 'invalid curve' idea dates to Biehl-Meyer-Müller (2000) and Antipa et al. (2003). The short Weierstrass addition formulas never use the coefficient b, so a point from a weak curve y^2 = x^3 + ax + b' gets processed silently unless the code checks that it lies on the right curve. This is a MISSING-VALIDATION bug, not a weakness of P-256's ECDLP. Twist-secure x-only designs (X25519) and TLS 1.3's ephemeral-only key exchange shrink the attack surface.

Sources

  1. paperPractical Invalid Curve Attacks on TLS-ECDH (ESORICS 2015)Springer, link.springer.com
  2. paperPractical Invalid Curve Attacks on TLS-ECDH (slides)BSides Vienna, bsidesvienna.at