Vulnerabilities · 2016 · Cryptopp
CVE-2016-7420
Cryptopp Crypto\+\+ vulnerability
Crypto++ (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.
Affected products
Crypto\+\+. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cryptopp Crypto\+\+ runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/weidai11/cryptopp/commit/553049ba297d89d9e8fbf2204acb40a8a53f5cd6 · Patch
- github.com/weidai11/cryptopp/issues/277 · Patch
- www.openwall.com/lists/oss-security/2016/09/15/12 · Third Party Advisory
- www.openwall.com/lists/oss-security/2016/09/16/1 · Third Party Advisory
- www.openwall.com/lists/oss-security/2023/09/28/2
- www.openwall.com/lists/oss-security/2023/09/28/4
- www.securityfocus.com/bid/92988
- www.openwall.com/lists/oss-security/2025/11/14/5
- nvd.nist.gov/vuln/detail/CVE-2016-7420
- cve.org/CVERecord?id=CVE-2016-7420
More vulnerabilities in Cryptopp products
CVE-2023-50981CVE-2023-50980CVE-2023-50979CVE-2022-48570CVE-2021-43398CVE-2021-40530CVE-2019-14318CVE-2017-9434All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.