Improper Input Validation Affecting libcrypto++ package, versions <5.6.4-5


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.81% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBCRYPTO-293596
  • published30 Jan 2017
  • disclosed30 Jan 2017

Introduced: 30 Jan 2017

CVE-2016-9939  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libcrypto++ to version 5.6.4-5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcrypto++ package and not the libcrypto++ package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.