### [CVE-2016-2842](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2842) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html - https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05135617 - https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/RedHatSatellite/satellite-host-cve - https://github.com/chnzzh/OpenSSL-CVE-lib