CVEfocus › CVE database › CVE-2023-50981

CVE-2023-50981

CVSS 7.5 HighEPSS 0.9% (higher than 56% of CVEs)Published 2023-12-18Updated 2025-05-07Assigner: mitre

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.

CWE-835

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libcrypto++Fix pendingUBUNTU-CVE-2023-50981
Ubuntu 26.04libcrypto++Under investigationUBUNTU-CVE-2023-50981
Ubuntu 25.10libcrypto++Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50981
Ubuntu 24.04libcrypto++Under investigationUBUNTU-CVE-2023-50981
Ubuntu 22.04libcrypto++Under investigationUBUNTU-CVE-2023-50981
Ubuntu 20.04libcrypto++Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50981
Ubuntu 18.04libcrypto++Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50981
Ubuntu 16.04libcrypto++Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50981
Ubuntu 14.04libcrypto++Fix pendingUBUNTU-CVE-2023-50981
Debian 14libcrypto++Fix pendingDEBIAN-CVE-2023-50981
Debian 13libcrypto++Fix pendingDEBIAN-CVE-2023-50981
Debian 12libcrypto++Fix pendingDEBIAN-CVE-2023-50981

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.