Description
The InvertibleRWFunction::CalculateInverse function in rw.cpp in libcrypt++ 5.6.2 does not properly blind private key operations for the Rabin-Williams digital signature algorithm, which allows remote attackers to obtain private keys via a timing attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libcrypto++ | 5.6.1-7 | — |
| Debian 13 | libcrypto++ | 5.6.1-7 | — |
| Debian 12 | libcrypto++ | 5.6.1-7 | — |
| Debian 8 | libcrypto++ | 5.6.1-6+deb8u1 | DSA-3296-1 |
| Debian 7 | libcrypto++ | 5.6.1-6+deb7u1 | DSA-3296-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | libcrypto++ | 5.6.0-6+deb6u1 | DLA-262-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libcrypto++ | 5.6.1-6+deb8u1build0.14.04.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libcryptopp | 5.6.4-1.3 | openSUSE-SU-2024:10336-1 |
Advisories 3
- DSA-3296-1 libcrypto++ - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-262-1 libcrypto++ - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10336-1 libcryptopp-devel-5.6.4-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- DSA-3296 vendor-advisory
- 75467 vdb-entry
- http://sourceforge.net/p/cryptopp/code/542/
- https://github.com/weidai11/cryptopp/commit/9425e16437439e68c7d96abef922167d68fafaff
- openSUSE-SU-2015:1271 vendor-advisory