Vulnerabilities / CVE-2016-2842

critical

CVE-2016-2842

openssl: doapr_outch function does not verify that certain memory allocation succeeds

Published Modified CWE 119
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.8AV:N/AC:M/Au:N/C:N/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (high), Oracle (high), Ubuntu (medium), Red Hat (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1openssl, openssl-debuginfo, openssl-devel and 2 more1:1.0.1k-14.89.amzn1
debian 11openssl1.0.2g-1
debian 12openssl1.0.2g-1
debian 13openssl1.0.2g-1
debian 14openssl1.0.2g-1
debian 7openssl1.0.1e-2+deb7u20
debian 8openssl1.0.1k-3+deb8u4
echoopenssl1.0.2g-1
Oracle Linux 6openssl, openssl-devel, openssl-fips and 5 more1.0.1e-48.el6_8.1 and 1 more
Oracle Linux 7openssl, openssl-devel, openssl-libs and 2 more1:1.0.1e-51.el7_2.5
Red Hatopenssl098eno fix listed
root.io debian 11rootio-openssl1.0.2g-1
Show all 43 entries from 27 sources
SourcePackageFixed in
amazon linux 1openssl1:1.0.1k-14.89.amzn1
amazon linux 1openssl-debuginfo1:1.0.1k-14.89.amzn1
amazon linux 1openssl-devel1:1.0.1k-14.89.amzn1
amazon linux 1openssl-perl1:1.0.1k-14.89.amzn1
amazon linux 1openssl-static1:1.0.1k-14.89.amzn1
debian 11openssl1.0.2g-1
debian 12openssl1.0.2g-1
debian 13openssl1.0.2g-1
debian 14openssl1.0.2g-1
debian 7openssl1.0.1e-2+deb7u20
debian 8openssl1.0.1k-3+deb8u4
echoopenssl1.0.2g-1
Oracle Linux 6openssl1.0.1e-48.el6_8.1
Oracle Linux 6openssl-devel1.0.1e-48.el6_8.1
Oracle Linux 6openssl-fips1.0.1t-2.0.1.el6
Oracle Linux 6openssl-fips-devel1.0.1t-2.0.1.el6
Oracle Linux 6openssl-fips-perl1.0.1t-2.0.1.el6
Oracle Linux 6openssl-fips-static1.0.1t-2.0.1.el6
Oracle Linux 6openssl-perl1.0.1e-48.el6_8.1
Oracle Linux 6openssl-static1.0.1e-48.el6_8.1
Oracle Linux 7openssl1:1.0.1e-51.el7_2.5
Oracle Linux 7openssl-devel1:1.0.1e-51.el7_2.5
Oracle Linux 7openssl-libs1:1.0.1e-51.el7_2.5
Oracle Linux 7openssl-perl1:1.0.1e-51.el7_2.5
Oracle Linux 7openssl-static1:1.0.1e-51.el7_2.5
Red Hatopenssl098eno fix listed
root.io debian 11rootio-openssl1.0.2g-1
root.io debian 12rootio-openssl1.0.2g-1
seal Red Hat 6openssl1.0.1e-59.el6_10+sp999, 1.0.1e-61.el6_10+sp999
seal Red Hat 6seal-openssl1.0.1e-59.el6_10+sp999, 1.0.1e-61.el6_10+sp999
ubuntu 12.04openssl1.0.1-4ubuntu5.35
ubuntu 14.04openssl1.0.1f-1ubuntu2.18
ubuntu 14.04-ESMopenssl1.0.1f-1ubuntu2.18
ubuntu 15.10openssl1.0.2d-0ubuntu1.4
ubuntu 16.04openssl1.0.2g-1ubuntu2
ubuntu 16.04-ESMopenssl1.0.2g-1ubuntu2
ubuntu 16.10openssl1.0.2g-1ubuntu2
ubuntu 17.04openssl1.0.2g-1ubuntu2
ubuntu 17.10openssl1.0.2g-1ubuntu2
ubuntu 18.04openssl1.0.2g-1ubuntu2
ubuntu 18.04-ESMopenssl1.0.2g-1ubuntu2
ubuntu 18.10openssl1.0.2g-1ubuntu2
ubuntu 19.04openssl1.0.2g-1ubuntu2

References

All 32 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.