OpenSSL: Fix memory issues in BIO_*printf functions
Published Mar 3, 2016
9.8
CRITICALCVSS 3.0
EPSS 32.41%
Description
The fmtstr function in crypto/bio/b_print.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g improperly calculates string lengths, which allows remote attackers to cause a denial of service (overflow and out-of-bounds read) 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-2842.
Affected products
No data.
Configuration 1
- 1.0.1
- 1.0.1
- 1.0.1
- 1.0.1
- 1.0.1a
- 1.0.1b
- 1.0.1c
- 1.0.1d
- 1.0.1e
- 1.0.1f
- 1.0.1g
- 1.0.1h
- 1.0.1i
- 1.0.1j
- 1.0.1k
- 1.0.1l
- 1.0.1m
- 1.0.1n
- 1.0.1o
- 1.0.1p
- 1.0.1q
- 1.0.1r
- 1.0.2
- 1.0.2
- 1.0.2
- 1.0.2
- 1.0.2a
- 1.0.2b
- 1.0.2c
- 1.0.2d
- 1.0.2e
- 1.0.2f
Configuration 2
- n/a
- n/a
- n/a
No data.
Red Hat Enterprise Linux 6
openssl-0:1.0.1e-48.el6_8.1
Fixed · RHSA-2016:0996
Red Hat Enterprise Linux 6.7 Extended Update Support
openssl-0:1.0.1e-42.el6_7.5
Fixed · RHSA-2016:2073
Red Hat Enterprise Linux 7
openssl-1:1.0.1e-51.el7_2.5
Fixed · RHSA-2016:0722
Red Hat JBoss Core Services
n/a
Fixed · RHSA-2016:2957
Red Hat Enterprise Linux 5
openssl
Will not fix
Red Hat Enterprise Linux 5
openssl097a
Will not fix
Red Hat Enterprise Linux 6
openssl098e
Will not fix
Red Hat Enterprise Linux 7
openssl098e
Will not fix
Red Hat Enterprise Virtualization 3
rhev-hypervisor
Under investigation
Red Hat JBoss Core Services
openssl
Affected
Red Hat JBoss Enterprise Web Server 1
openssl
Will not fix
Red Hat JBoss Enterprise Web Server 2
openssl
Will not fix
Red Hat JBoss Enterprise Web Server 3
openssl
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | openssl-0:1.0.1e-48.el6_8.1 | Fixed | RHSA-2016:0996 |
| Red Hat Enterprise Linux 6.7 Extended Update Support | openssl-0:1.0.1e-42.el6_7.5 | Fixed | RHSA-2016:2073 |
| Red Hat Enterprise Linux 7 | openssl-1:1.0.1e-51.el7_2.5 | Fixed | RHSA-2016:0722 |
| Red Hat JBoss Core Services | n/a | Fixed | RHSA-2016:2957 |
| Red Hat Enterprise Linux 5 | openssl | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | openssl097a | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | openssl098e | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | openssl098e | Will not fix | n/a |
| Red Hat Enterprise Virtualization 3 | rhev-hypervisor | Under investigation | n/a |
| Red Hat JBoss Core Services | openssl | Affected | n/a |
| Red Hat JBoss Enterprise Web Server 1 | openssl | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | openssl | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 3 | openssl | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The original issue fixed by OpenSSL upstream contains two distinct fixes. The first one is a format string flaw in the internal fmtstr functions, which may result in a OOB read flaw when printing very large string. This issue was assigned CVE-2016-0799 The second issue relates to the internal doapr_outch function of OpenSSL. It can result in an OOB write, or cause memory leaks. This issue has been assigned CVE-2016-2842 by MITRE as is now tracked as https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2842
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (46 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 32.41% (0.32414) | 98.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 32.41% (0.32414) | 98.10th | v5 (v2026.06.15) |
| Jun 10, 2026 | 41.28% (0.41276) | 97.49th | v4 (v2025.03.14) |
| Mar 4, 2026 | 43.54% (0.43537) | 97.44th | v4 (v2025.03.14) |
| Mar 1, 2026 | 53.56% (0.53565) | 97.95th | v4 (v2025.03.14) |
| Feb 4, 2026 | 44.13% (0.44129) | 97.44th | v4 (v2025.03.14) |
| Feb 1, 2026 | 54.13% (0.54135) | 97.95th | v4 (v2025.03.14) |
| Jan 21, 2026 | 44.13% (0.44129) | 97.43th | v4 (v2025.03.14) |
| Jan 18, 2026 | 50.05% (0.50049) | 97.72th | v4 (v2025.03.14) |
| Jan 4, 2026 | 43.54% (0.43537) | 97.39th | v4 (v2025.03.14) |
| Jan 1, 2026 | 53.56% (0.53565) | 97.90th | v4 (v2025.03.14) |
| Dec 28, 2025 | 43.54% (0.43537) | 97.38th | v4 (v2025.03.14) |
| Dec 27, 2025 | 53.85% (0.53854) | 97.90th | v4 (v2025.03.14) |
| Dec 4, 2025 | 43.54% (0.43537) | 97.36th | v4 (v2025.03.14) |
| Dec 1, 2025 | 53.56% (0.53565) | 97.87th | v4 (v2025.03.14) |
| Nov 4, 2025 | 43.54% (0.43537) | 97.36th | v4 (v2025.03.14) |
| Nov 1, 2025 | 53.56% (0.53565) | 97.87th | v4 (v2025.03.14) |
| Oct 28, 2025 | 43.54% (0.43537) | 97.35th | v4 (v2025.03.14) |
| Oct 27, 2025 | 53.85% (0.53854) | 97.87th | v4 (v2025.03.14) |
| Oct 4, 2025 | 43.54% (0.43537) | 97.41th | v4 (v2025.03.14) |
| Sep 6, 2025 | 53.85% (0.53854) | 97.92th | v4 (v2025.03.14) |
| Sep 1, 2025 | 63.08% (0.63079) | 98.35th | v4 (v2025.03.14) |
| Aug 4, 2025 | 53.85% (0.53854) | 97.89th | v4 (v2025.03.14) |
| Aug 1, 2025 | 63.08% (0.63079) | 98.32th | v4 (v2025.03.14) |
| Jul 30, 2025 | 53.85% (0.53854) | 97.88th | v4 (v2025.03.14) |
| Jul 4, 2025 | 43.54% (0.43537) | 97.36th | v4 (v2025.03.14) |
| Jul 1, 2025 | 53.56% (0.53565) | 97.84th | v4 (v2025.03.14) |
| Jun 15, 2025 | 43.54% (0.43537) | 97.34th | v4 (v2025.03.14) |
| Jun 4, 2025 | 32.91% (0.32912) | 96.65th | v4 (v2025.03.14) |
| Jun 1, 2025 | 42.77% (0.42772) | 97.32th | v4 (v2025.03.14) |
| May 4, 2025 | 32.91% (0.32912) | 96.61th | v4 (v2025.03.14) |
| May 1, 2025 | 42.77% (0.42772) | 97.29th | v4 (v2025.03.14) |
| Mar 30, 2025 | 33.47% (0.33467) | 96.55th | v4 (v2025.03.14) |
| Mar 29, 2025 | 61.79% (0.61791) | 97.63th | v4 (v2025.03.14) |
| Mar 17, 2025 | 33.47% (0.33467) | 96.54th | v4 (v2025.03.14) |
| Dec 17, 2024 | 30.97% (0.30968) | 96.96th | v3 (v2023.03.01) |
| Nov 8, 2024 | 35.97% (0.35965) | 97.26th | v3 (v2023.03.01) |
| Sep 16, 2023 | 39.16% (0.39164) | 96.77th | v3 (v2023.03.01) |
| Aug 14, 2023 | 34.65% (0.34651) | 96.56th | v3 (v2023.03.01) |
| Jul 11, 2023 | 27.70% (0.27699) | 96.19th | v3 (v2023.03.01) |
| Jun 4, 2023 | 21.60% (0.21598) | 95.71th | v3 (v2023.03.01) |
| Mar 16, 2023 | 18.60% (0.18602) | 95.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 13.86% (0.13856) | 94.72th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.56% (0.07559) | 92.87th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.56% (0.07559) | 92.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.56% (0.07559) | 81.11th | v2 (v2022.01.01) |
References (63)
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178358.html vendor-advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178817.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00001.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00002.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00003.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00004.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00006.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00007.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00009.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00010.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00011.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00012.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00017.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00025.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00038.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00015.html vendor-advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00017.html vendor-advisory
- http://marc.info/?l=bugtraq&m=145983526810210&w=2 vendor-advisory
- http://marc.info/?l=bugtraq&m=146108058503441&w=2 vendor-advisory
- http://openssl.org/news/secadv/20160301.txt Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0722.html vendor-advisory
- http://rhn.redhat.com/errata/RHSA-2016-0996.html vendor-advisory
- http://rhn.redhat.com/errata/RHSA-2016-2073.html vendor-advisory
- http://rhn.redhat.com/errata/RHSA-2016-2957.html vendor-advisory
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20160302-openssl vendor-advisory
- http://www.debian.org/security/2016/dsa-3500 vendor-advisory
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- http://www.securityfocus.com/bid/83755 vdb-entry
- http://www.securityfocus.com/bid/91787 vdb-entry
- http://www.securitytracker.com/id/1035133 vdb-entry
- http://www.ubuntu.com/usn/USN-2914-1 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2016-0799 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1312219 Issue Tracking
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=578b956fe741bf8e84055547b1e83c28dd902c73
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03741en_us
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05068681
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05086877
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05111017
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05126404
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05131085
- 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-c05141441
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150736
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150800
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150888
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05157667
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40168
- https://nvd.nist.gov/vuln/detail/CVE-2016-0799
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:12.openssl.asc vendor-advisory
- https://security.gentoo.org/glsa/201603-15 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2016-0799
- https://www.openssl.org/news/secadv/20160301.txt
Change history (0)
No recorded changes yet.