GHSA-7p29-gw5p-v3h6: Timing side channel in RSA decryption: time depends on the leading zero bytes of the decrypted value
Published 2026-11-28 · Updated 2026-11-29 · Also known as RUSTSEC-2026-0622
Summary
The sad-rsa crate contains a timing side-channel vulnerability in RSA decryption where processing time varies based on the number of leading zero bytes in the decrypted value. Engineering teams using sad-rsa should update to version 0.10.6 to mitigate potential side-channel analysis risks.
Who is affected
This vulnerability affects users of the sad-rsa crate implementing RSA decryption, specifically OAEP and PKCS#1 v1.5 operations. An attacker who can perform high-repetition measurements of decryption times could potentially gain information about the decrypted value. This vulnerability persists even when blinding is enabled, as the flawed conversion process occurs post-unblinding.
Exploitability
The vulnerability carries a CVSS 3.1 score of 5.9, indicating medium severity due to high complexity and remote network access requirements. There is no known active exploitation, no CISA KEV listing, and EPSS data is not yet available.
Remediation
- Upgrade the sad-rsa crate to version 0.10.6 or later.
- Limit the number of decryption requests a peer can perform with a single RSA key to reduce the measurement window for potential attackers.
How to check your project
- Inspect Cargo.toml or Cargo.lock files to check if the sad-rsa crate version is strictly less than 0.10.6.
- Run 'cargo tree -p sad-rsa' to identify all dependencies using the affected crate.
Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | sad-rsa |
>= 0.0.0-0, < 0.10.6 | 0.10.6 | cargo update -p sad-rsa --precise 0.10.6 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
Is RSA signing or signature verification affected?
No, the vulnerability is strictly limited to RSA decryption operations.
Does enabling blinding mitigate this timing side-channel?
No, blinding does not help because the vulnerable conversion logic occurs after the result is unblinded.
Has this been exploited over a network?
No, the difference has not been demonstrated over a network and no exploit is known at this time.
Original advisory description
References
- PACKAGE https://crates.io/crates/sad-rsa
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0622.html
- WEB https://github.com/sadco-io/sad-rsa/pull/77
Source records: RUSTSEC-2026-0622 (OSV.dev).