{"id":"UBUNTU-CVE-2016-2842","details":"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.","modified":"2025-09-08T16:43:40Z","published":"2016-03-03T20:59:00Z","upstream":["CVE-2016-2842"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-2842"},{"type":"REPORT","url":"http://openssl.org/news/secadv/20160301.txt"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-2842"}],"affected":[{"package":{"name":"openssl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/openssl@1.0.1f-1ubuntu2.18?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1f-1ubuntu2.18"}]}],"versions":["1.0.1e-3ubuntu1","1.0.1e-4ubuntu1","1.0.1e-4ubuntu2","1.0.1e-4ubuntu3","1.0.1e-4ubuntu4","1.0.1f-1ubuntu1","1.0.1f-1ubuntu2","1.0.1f-1ubuntu2.1","1.0.1f-1ubuntu2.2","1.0.1f-1ubuntu2.3","1.0.1f-1ubuntu2.4","1.0.1f-1ubuntu2.5","1.0.1f-1ubuntu2.7","1.0.1f-1ubuntu2.8","1.0.1f-1ubuntu2.11","1.0.1f-1ubuntu2.12","1.0.1f-1ubuntu2.15","1.0.1f-1ubuntu2.16","1.0.1f-1ubuntu2.17"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.0.1f-1ubuntu2.18","binary_name":"libssl-dev"},{"binary_version":"1.0.1f-1ubuntu2.18","binary_name":"libssl1.0.0"},{"binary_version":"1.0.1f-1ubuntu2.18","binary_name":"openssl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-2842.json"}},{"package":{"name":"openssl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openssl@1.0.2g-1ubuntu2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2g-1ubuntu2"}]}],"versions":["1.0.2d-0ubuntu1","1.0.2d-0ubuntu2","1.0.2e-1ubuntu1","1.0.2f-2ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.0.2g-1ubuntu2","binary_name":"libssl-dev"},{"binary_version":"1.0.2g-1ubuntu2","binary_name":"libssl1.0.0"},{"binary_version":"1.0.2g-1ubuntu2","binary_name":"openssl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-2842.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}