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.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Modified"
},
"published": "2023-12-18T04:15:51.147Z",
"id": "CVE-2023-50981",
"imported": "2026-08-12T15:10:36.618Z",
"modified": "2026-06-17T06:40:21.427Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50981",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-50981"
}
]
}