Advisory

GHSA-q95h-vc86-hv77

Also known as: CVE-2019-13628, PYSEC-2026-1066

Summary

wolfCrypt leaks cryptographic information via timing side channel

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 16:57 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

wolfcrypt

PyPI · All systems

Affected

  • introduced 0, fixed 4.1.0 (ecosystem)

Fixed versions

4.1.0

Fix

  • Fixed version 4.1.0
    pip install --upgrade wolfcrypt==4.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences