Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-7420
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-7420
Complete source record
{
"id": "26dceb11b74c99b824fd07bb135ef9e8bb7abb1bc595bfdd15437c197d7dc46b",
"url": "https://osv.dev/vulnerability/CVE-2016-7420",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-7420",
"summary": "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.",
"evidence": "osv:CVE-2016-7420",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-7420",
"aliases": [
"CVE-2016-7420"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/weidai11/cryptopp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "4132d85888ac6c30729f58bb442a4a26a5b16cfe"
},
{
"fixed": "553049ba297d89d9e8fbf2204acb40a8a53f5cd6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cryptopp:crypto\\+\\+:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.6.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "553049ba297d89d9e8fbf2204acb40a8a53f5cd6"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"CRYPTOPP_5_6_2",
"CRYPTOPP_5_6_4",
"CRYPTOPP_5_6_3",
"CRYPTOPP_5_6_1",
"CRYPTOPP_5_6_0",
"CRYPTOPP_5_5_2",
"CRYPTOPP_5_5_1",
"CRYPTOPP_5_5",
"CRYPTOPP_5_4",
"CRYPTOPP_5_3_0",
"CRYPTOPP_5_2_3",
"CRYPTOPP_5_2_1",
"CRYPTOPP_5_2",
"CRYPTOPP_5_1",
"CRYPTOPP_5_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7420.json"
}
}
],
"modified": "2026-10-20T10:47:52.317213723Z",
"provider": "osv",
"references": [
"https://github.com/weidai11/cryptopp/commit/553049ba297d89d9e8fbf2204acb40a8a53f5cd6",
"https://github.com/weidai11/cryptopp/issues/277"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-7420",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379792,
"published_at": "2016-09-16T05:59:15.427+00:00"
}