RSA decryption: time depends · Timing Side Channel
Affects sad-rsaSource GCVE Database
CVSS 5.9 Medium : upgrade to 0.10.6 when convenient.
Data as of 29 Nov 2026, 22:31 UTC
- Patch
- Available – fixed in 0.10.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWhat to do
Upgrade sad-rsa to 0.10.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iosad-rsapkg:cargo/sad-rsaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version (0.10.6) is available and should be applied to eliminate the timing side channel by making the byte-copy operation constant-time. There is no workaround in the affected library versions. Limiting the number of decryptions a peer can request with one key can reduce the feasibility of timing measurements but does not fully mitigate the issue.
Description
A timing side-channel vulnerability in RSA decryption was found where the time taken depends on the number of leading zero bytes in the decrypted value. This affects OAEP and PKCS#1 v1.5 decryption, even when blinding is used. The vulnerability allows an attacker to distinguish decrypted values based on timing differences, which are measurable but no network exploit is known. The issue was fixed in version 0.10.6 by making the byte-copy operation constant-time. No workaround exists other than limiting decryption requests per key.