CVE-2016-2842: Buffer Overflow
It was found that doaproutch function in crypto/bio/bprint.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. This issues is different than CVE-2016-0799.
Upstream patch:
https://git.openssl.org/?p=openssl.git;a=commit;h=578b956fe741bf8e84055547b1e83c28dd902c73
Other sources
Several flaws were found in the way BIOprintf functions were implemented in OpenSSL. Applications which passed large amounts of untrusted data through these functions could crash or potentially execute code with the permissions of the user running such an application.
The doaproutch function in crypto/bio/bprint.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.
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2016-2842?
CVE-2016-2842 has a severity rating that allows remote attackers to cause a denial of service through out-of-bounds write or memory consumption.
How do I fix CVE-2016-2842?
To fix CVE-2016-2842, update OpenSSL to version 1.0.1s or 1.0.2g or later.
Which versions are affected by CVE-2016-2842?
CVE-2016-2842 affects OpenSSL versions 1.0.1 through 1.0.1r and 1.0.2 through 1.0.2f.
Can CVE-2016-2842 lead to data breaches?
While CVE-2016-2842 primarily leads to denial of service, it could potentially expose a system to further attacks if exploited.
What software should I upgrade to mitigate CVE-2016-2842?
To mitigate CVE-2016-2842, upgrade affected software packages such as OpenSSL from the specified vulnerable versions.