CVE-2016-9939: Input Validation

Published Jan 30, 2017
·
Updated

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.

Affected Software

2 affected components
Cryptopp Crypto\+\+=5.6.4
Debian Debian Linux=8.0

Event History

Jan 30, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-9939?

CVE-2016-9939 is classified as a medium severity vulnerability due to its potential impact on memory allocation leading to possible application crashes.

2

How do I fix CVE-2016-9939?

To mitigate CVE-2016-9939, upgrade to a fixed version of Crypto++ that addresses the vulnerability.

3

Which versions are affected by CVE-2016-9939?

CVE-2016-9939 specifically affects Crypto++ version 5.6.4.

4

Can CVE-2016-9939 lead to denial of service?

Yes, CVE-2016-9939 can potentially lead to denial of service if exploited through improper ASN.1 decoding.

5

How does CVE-2016-9939 impact applications using Crypto++?

CVE-2016-9939 can cause applications relying on Crypto++ version 5.6.4 to crash due to improper memory handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203