Description
ModularSquareRoot in Crypto++ (aka cryptopp) through 8.9.0 allows attackers to cause a denial of service (infinite loop) via crafted DER public-key data associated with squared odd numbers, such as the square of 268995137513890432434389773128616504853.
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++ | No fix yet | — |
| Debian 13 | libcrypto++ | No fix yet | — |
| Debian 12 | libcrypto++ | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libcrypto++ | No fix yet | — |
| Ubuntu 26.04 LTS | libcrypto++ | No fix yet | — |
| Ubuntu 25.10 | libcrypto++ | No fix yet | — |
| Ubuntu 24.04 LTS | libcrypto++ | No fix yet | — |
| Ubuntu 22.04 LTS | libcrypto++ | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libcrypto++ | No fix yet | — |
| Ubuntu 18.04 LTS | libcrypto++ | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libcrypto++ | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libcrypto++ | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | libcryptopp | 8.6.0-150400.3.6.1 | SUSE-SU-2024:0157-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Real Time 15 SP4 | libcryptopp | 8.6.0-150400.3.6.1 | SUSE-SU-2024:0157-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libcryptopp | 8.9.0-2.1 | openSUSE-SU-2024:13550-1 |
| openSUSE Leap 15.5 | libcryptopp | 8.6.0-150400.3.6.1 | SUSE-SU-2024:0157-1 |
Advisories 2
- SUSE-SU-2024:0157-1 Security update for libcryptopp SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13550-1 libcryptopp-devel-8.9.0-2.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025