CVE-2016-9939Cryptopp Crypto++
High 7.5 No auth needed
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 30, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Crypto++.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptopp | crypto++ | 5.6.4 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.debian.org Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- lists.fedoraproject.org