CVEvulnerability

CVE-2016-9939

7.5 HIGH Published 2017-01-30 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-01-30
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-20

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.

Affected configurations

• cryptopp crypto\+\+ 5.6.4 • debian debian linux 8.0

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References