CVE-2019-13628
MEDIUM4.7EPSS 0.14%wolfCrypt leaks cryptographic information via timing side channel
Published: 5/24/2022Modified: 4/28/2026
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.
Affected packages (2)
- Debian/wolfsslfrom 0, < 4.1.0+dfsg-1
- PyPI/wolfcryptfrom 0, < 4.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-13628
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-13628
- PATCHhttps://github.com/wolfSSL/wolfcrypt-py
- WEBhttps://eprint.iacr.org/2011/232.pdf
- WEBhttps://minerva.crocs.fi.muni.cz
- WEBhttps://tches.iacr.org/index.php/TCHES/article/view/7337
- WEBhttp://www.openwall.com/lists/oss-security/2019/10/02/2