ADVISORIES

PyPA Advisory Database

PYSEC-2026-3028

pyquorum: Timing side‑channel in mul_mod

Details

Impact

The mul_mod function implements multiplication via a binary expansion loop whose execution time depends on the Hamming weight of the second operand (the exponent). An attacker who can measure the time of secret‑sharing operations (e.g., via a remote service) could progressively recover the values of shares, ultimately leading to secret reconstruction.

Patches

https://github.com/svvqt/pyquorum/releases/tag/v0.2.1

Affected packages

EcosystemPackageAffected versions
PyPIpyquorum
All versions before 0.2.1 (fixed in 0.2.1)

References