Description
wolfSSL and wolfCrypt 4.0.0 and earlier (when configured without --enable-fpecc, --enable-sp, or --enable-sp-math) contain a timing side channel in ECDSA signature generation. This allows a local attacker, able to precisely measure the duration of signature operations, to infer information about the nonces used and potentially mount a lattice attack to recover the private key used. The issue occurs because ecc.c scalar multiplication might leak the bit length.
References (4)
Core 4
Core References
Technical Description, Third Party Advisory x_refsource_misc
https://eprint.iacr.org/2011/232.pdf
Technical Description, Third Party Advisory x_refsource_misc
https://tches.iacr.org/index.php/TCHES/article/view/7337
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2019/10/02/2
Product x_refsource_misc
https://minerva.crocs.fi.muni.cz/
Scores
CVSS v3
4.7
EPSS
0.0036
EPSS Percentile
27.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-203
Status
published
Products (2)
pypi/wolfcrypt
0 - 4.1.0PyPI
wolfssl/wolfssl
< 4.0.0
Published
Oct 03, 2019
Tracked Since
Feb 18, 2026