CVE-2016-7420

NameCVE-2016-7420
DescriptionCrypto++ (aka cryptopp) through 5.6.4 does not document the requirement for a compile-time NDEBUG definition disabling the many assert calls that are unintended in production use, which might allow context-dependent attackers to obtain sensitive information by leveraging access to process memory after an assertion failure, as demonstrated by reading a core dump.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcrypto++ (PTS)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++source(unstable)(unfixed)unimportant

Notes

https://github.com/weidai11/cryptopp/issues/277
The scope of this CVE is the documentation bug, lacking treatment of
-DNDEBUG and Static Initialization
Documentation added in https://github.com/weidai11/cryptopp/commit/553049ba297d89d9e8fbf2204acb40a8a53f5cd6

Search for package or bug name: Reporting problems