CVE-2016-9939
Description
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
4.202%
chance of exploitation in the next 30 days
higher than 91.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2017-01-30Published by the CNA21:00 UTC
Affected products
| Vendor | Product |
|---|---|
| cryptopp | crypto\+\+ |
| debian | debian_linux |
References
- http://www.openwall.com/lists/oss-security/2016/12/12/7
- http://www.debian.org/security/2016/dsa-3748
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7IL5A6465IEPW5GAWGXB2ENJPFYVWTJM/
- http://www.securityfocus.com/bid/94854
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-9939'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-9939'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-9939'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-9939'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).