Home / Cryptopp / Crypto\+\+ / CVE-2016-9939
CVE-2016-9939: is it exploited, and which versions of Cryptopp Crypto\+\+ are affected and fixed?
CVE-2016-9939 is an improper input validation vulnerability in Cryptopp Crypto\+\+. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: crypto\+\+ 5.6.4 and debian linux 8.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:44 UTC.
What is CVE-2016-9939?
Crypto++ (aka cryptopp and libcrypto++) 5.6.4 contained a bug in its ASN.1 BER decoding routine. The library will allocate a memory block based on the length field of the ASN.1 object. If there is not enough content octets in the ASN.1 object, then the function will fail and the memory block will be zeroed even if its unused. There is a noticeable delay during the wipe for a large allocation.
From the CVE record by mitre, last updated August 6, 2024, 03:07 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cryptopp | crypto\+\+ | 5.6.4 | application |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:56 UTC.
How severe is CVE-2016-9939?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-9939 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.20% probability of exploitation activity in the next 30 days, percentile 91.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- [oss-security] 20161212 Re: CVE Request: Potential DoS in Crypto++ ASN.1 parser mailing-list, x_refsource_MLIST
- DSA-3748 vendor-advisory, x_refsource_DEBIAN
- 94854 vdb-entry, x_refsource_BID
- FEDORA-2019-812b77ed2e vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- December 12, 2016
- Published
- January 30, 2017, 21:00 UTC
- CVE record updated
- August 6, 2024, 03:07 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:56 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:44 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Crypto\+\+?
- Dec 18, 2023CVE-2023-50981 Cryptopp Crypto\+\+: infinite loop (denial of service)
- Dec 18, 2023CVE-2023-50980 Cryptopp Crypto\+\+: n/a
- Dec 18, 2023CVE-2023-50979 Cryptopp Crypto\+\+: information disclosure through timing or responses
- Aug 22, 2023CVE-2022-48570 Cryptopp Crypto\+\+: out-of-bounds write (memory corruption)
- Nov 4, 2021CVE-2021-43398 Cryptopp Crypto\+\+: information disclosure through timing or responses disputed
- Sep 6, 2021CVE-2021-40530 Cryptopp Crypto\+\+: broken or risky cryptography
- Jul 30, 2019CVE-2019-14318 Cryptopp Crypto\+\+: n/a
- Jun 5, 2017CVE-2017-9434 Cryptopp Crypto\+\+: out-of-bounds read
Questions about CVE-2016-9939
Is CVE-2016-9939 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 4.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cryptopp Crypto\+\+ are affected by CVE-2016-9939?
crypto\+\+ 5.6.4 and debian linux 8.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-9939?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2016-9939?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-9939?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.