Vulnerability · Published Dec 18, 2023 · Assigned by mitre

CVE-2023-50981

High 7.5

In plain English

A high-severity infinite loop in the libcrypto++ package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 44.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libcrypto++no fix listedDEBIAN-CVE-2023-50981
Debian:13libcrypto++no fix listedDEBIAN-CVE-2023-50981
Debian:14libcrypto++no fix listedDEBIAN-CVE-2023-50981
Ubuntu:22.04:LTSlibcrypto++no fix listedUBUNTU-CVE-2023-50981
Ubuntu:24.04:LTSlibcrypto++no fix listedUBUNTU-CVE-2023-50981
Ubuntu:25.10libcrypto++no fix listedUBUNTU-CVE-2023-50981
Ubuntu:26.04:LTSlibcrypto++no fix listedUBUNTU-CVE-2023-50981
Ubuntu:26.10libcrypto++no fix listedUBUNTU-CVE-2023-50981

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References