Skip to content
OpenAdvisories
Unscored CVE-2016-9939 EUVD-2016-10726GHSA-x7wj-9rr2-gfcg

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 b…

Published Jan 30, 2017 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcrypto++ 5.6.4-5 —
Debian 13 libcrypto++ 5.6.4-5 —
Debian 12 libcrypto++ 5.6.4-5 —
Debian 8 libcrypto++ 5.6.1-6+deb8u3 DSA-3748-1
Debian 7 libcrypto++ 5.6.1-6+deb7u3 DLA-766-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libcrypto++ 5.6.1-9ubuntu0.1 —
Ubuntu 14.04 LTS libcrypto++ 5.6.1-6+deb8u3build0.14.04.1 —
ReleasePackageFixed inAdvisory
SLES 15 SP3 libcryptopp 5.6.5-1.6.1 SUSE-SU-2021:3301-1
SLES 15 SP2 libcryptopp 5.6.5-1.6.1 SUSE-SU-2021:3301-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 libcryptopp 5.6.5-1.6.1 openSUSE-SU-2021:3301-1

Advisories 4

References