CVE-2023-50981

NameCVE-2023-50981
DescriptionModularSquareRoot 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1059312

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcrypto++ (PTS)jessie, jessie (lts)5.6.1-6+deb8u3vulnerable
stretch5.6.4-7vulnerable
buster5.6.4-8vulnerable
bullseye8.4.0-1vulnerable
bookworm8.7.0+git220824-1vulnerable
sid, trixie8.9.0-1.1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcrypto++sourcejessie(unfixed)end-of-life
libcrypto++source(unstable)(unfixed)1059312

Notes

[bookworm] - libcrypto++ <no-dsa> (Minor issue)
[bullseye] - libcrypto++ <no-dsa> (Minor issue)
[buster] - libcrypto++ <no-dsa> (Minor issue)
https://github.com/weidai11/cryptopp/issues/1249
[stretch] - libcrypto++ <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems