All reports
High

github.com/ecies/go vulnerable to possible private key restoration

Affected versions

Version ranges need review.

Affected versions
<2.0.8
Fixed version
2.0.8
Affected versions
< 2.0.8
Fixed version
2.0.8

Exploitation

CVE-2023-49292

Probability of exploitation in the next 30 days: 0.34%

FIRST EPSS · 2026-11-23

Description

Impact

If functions Encapsulate(), Decapsulate() and ECDH() could be called by an attacker, he could recover any private key that he interacts with.

Patches

Patched in v2.0.8

Workarounds

You could manually check public key by calling IsOnCurve() function from secp256k1 libraries.

References

https://github.com/ashutosh1206/Crypton/blob/master/Diffie-Hellman-Key-Exchange/Attack-Invalid-Curve-Point/README.md

Links

Credits

  • Merricx
  • savely-krasovsky