CVE-2016-2842 Memory corruption in n/a
Remote attackers can cause denial of service via out-of-bounds write or memory consumption in OpenSSL's BIO printing function.
- 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-2842?
CVE-2016-2842 is a critical memory corruption vulnerability in Openssl Openssl, published on 3 Mar 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The doapr_outch function in crypto/bio/b_print.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g does not verify that a certain memory allocation succeeds, which allows remote attackers to cause a denial of service (out-of-bounds write or memory consumption) or possibly have unspecified other impact via a long string, as demonstrated by a large amount of ASN.1 data, a different vulnerability than CVE-2016-0799.
Weakness: CWE-119
Which versions are affected by CVE-2016-2842?
It affects 1 product.
Products include Openssl Openssl.
How do I fix CVE-2016-2842?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-2842 being exploited?
There is no known exploitation of CVE-2016-2842 in the wild and no public exploit code.
Other vulnerabilities in Openssl Openssl
Sources
Also known as DEBIAN-CVE-2016-2842, GHSA-jj34-65xr-hwrp, UBUNTU-CVE-2016-2842.