CVE-2016-9939 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause a denial of service by triggering a noticeable delay during memory wiping in the ASN.1 BER decoding routine.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-9939?

CVE-2016-9939 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 30 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2016-9939?

It affects 2 products.

Linux distribution packages (3)
libcryptopp SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions5.6.5-1.6.1
libcryptopp SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions5.6.5-1.6.1
libcryptopp openSUSE:Leap 15.3All versions5.6.5-1.6.1

Products include Cryptopp Crypto\+\+, Debian Debian Linux.

How do I fix CVE-2016-9939?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-9939 being exploited?

There is no known exploitation of CVE-2016-9939 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-9939, DLA-766-1, DSA-3748-1, GHSA-x7wj-9rr2-gfcg, MGASA-2017-0010, SUSE-SU-2021:3301-1 and 2 more.

Is CVE-2016-9939 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free